WARNING: This page is about a different car, the 2006 Nissan Titan. However, it is still accessible from the selected car via links, so may be relevant.
Check continuity between terminals of the stop lamp switch.
Fig 1: Checking Continuity Between Terminals Of Stop Lamp Switch
Courtesy of NISSAN MOTOR CO., U.S.A.
CONDITION CONTINUITY
Condition
Terminal No.
Continuity
When brake pedal is depressed
3 - 4
Yes
When brake pedal is released
No
Check stop lamp switch after adjusting brake pedal.