WARNING: This page is about a different car, the 2003 Nissan Pathfinder. However, it is still accessible from the selected car via links, so may be relevant.
Check resistance between terminals (3 or 2) and ground.
Fig 1: Terminals No And Resistance Chart
Courtesy of NISSAN MOTOR CO., U.S.A.
Fig 2: Checking Resistance Of Shift Solenoid Valve