WARNING: This page is about a different car, the 2013 Nissan Xterra. However, it is still accessible from the selected car via links, so may be relevant.
Check continuity.
Gear position
Continuity
Reverse
Yes
Except reverse
No
Fig 1: Checking Continuity Between Back-Up Lamp Switch Connector Terminals