People need to be recording vin numbers from donor vehicles. I neglected to keep the vin from the truck I got my 22re swap out of and its caused me some headaches forsure.
To the best of my knowledge, if the ecu plugs in, you should be safe to try it. If the intake, wiring, etc. Is all from the same vehicle. Record the part numbers from distributor, throttle body, TPS, wire harness, and ecu. If your local Toyota parts Department is good, they should be able to help you out