WARNING: This page is about a different car, the 2003 Nissan Altima and 2002 Nissan Altima. However, it is still accessible from the selected car via links, so may be relevant.
Check continuity.
Fig 1: Park/Neutral Position Switch Continuity Check Reference Table