WARNING: This page is about a different car, the 2005 Nissan Quest. However, it is still accessible from the selected car via links, so may be relevant.
Throttle position sensor can be checked by voltage across terminals 41 (W) and 42 (B) of TCM.
Fig 1: Checking Voltage Across TCM Terminals 41 & 42