WARNING: This page is about a different car, the 2003 Nissan Altima. 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: Measuring Voltage Across Terminals 41 And 42 Of TCM