I'm a little confused,... only the manual transmissions have a neutral switch,... the automatics have a Transaxle Range Switch. So did you replace the TR switch ???
If you have a new TR switch installed,.. then you probably have a bad connection or broken wire from the switch to the ECU.