WARNING: This page is about a different car, the 2004 Nissan Sentra. 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 and 42 of TCM.
Fig 1: Checking Voltage Between Terminals 41 And 42 Of TCM