Replacing the ignition switch ,may just complicate things as the Ignition Key is part of the NATS (Nissan Anti Theft System) whose Key ID is stored in the ECM and IMMU.
Allowing the lead-acid battery to be fully discharged may cause sulphation and weaken the battery. Check the battery voltage with engine off is 12.5VDC or higher. If not, replace the battery. BTW, have you tried jump-starting the car to eliminate the battery issue?
You may also have a problem with the Shift Lock Solenoid which prevents you from moving the shifter with Ignition ON. The Shift Lock Solenoid is interlocked with the Brake Switch.
Is the Security LED blinking? It must turn off when Ignition Switch is in ON position. Otherwise, you may have a problem with NATS.
Refer to the thread below as it wil hep you in the diagnostic.
zerothread?id=459437