What year did this motor come out of and what type of wire harrness there two different kinds (pick-up or 4runner)
THere are 2 different wiring harnesses, I believe it is year difference though, and not pcikup vs. 4runner diff. I beleive the3 change was made in 90 or 91, but I am not sure. easy way to check is look at your plug to your TPS if it is rounded and the other one is rounded, you're good, if the plug is square, then you would need to swap your harness as well. this also affect the fuel injector plugs as well.
I put a 88 v6 from a runner into my 91 xcab, and i had to use the injectors from the 91 as well as the throttle body. Also some other small stuff but I dont remember what.