You can legally swap a newer engine in to any vehicle, however, your older engine might not be legal to swap into the newer one. Does your state have emissions?
Your answer is that you need the ECU for the engine itself not the car.
Sent from my moto g(7) power using Tapatalk