Hi there! I will tell you how to change the engine 2gen to 3gen and not to change the wiring braid.
But you need an additional connector for the ECU
Gray marked not involved pins, exepu FPU. it need too.
Communication automatic transmission with ECU:
S1 – the first solenoid.
S2 – second solenoid.
SL – valve torque converter lock.
1 gear S1-on(12v connected) S2-off (ground)
2 gear S1-on S2-on
3 gear S1-off S2-on
4 gear S1-off S2-off