In all my expereince with changing motors in cars, it is highly advisable to use the ECU, PCM, or what ever the vendor calls it, thats was designed for the car.
That is of course unless you are a major electronics guru, and have a signal generator, oscilloscope, and a complete wiring diagram for both vehicles...
Even then it is still a pain in the a$$...