AX4N and AX4S are mechanically the same but are hydraulically different, therefore, they are controlled differently.
On top of that, not only are you crossing years, but you are crossing Generations. I think you'll have more trouble than it's worth. You're better off finding a matching transmission. The wiring and PCM is more than likely completely different.