WARNING: This page is about a different car, the 2002 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: 3rd Gear Function Circuit And Identifying Connectors
Courtesy of NISSAN MOTOR CO., U.S.A.
Fig 2: Transmission Control Module Terminal Reference Values