The throttle position sensor (TPS) in a 1994 Pontiac Grand Am typically receives power from the
5-volt reference voltage provided by the
Powertrain Control Module (PCM). It doesn't get power directly from the battery. The PCM supplies this 5V reference, and the TPS's output voltage varies depending on the throttle plate position. A sensor ground is also required to complete the circuit.
Therefore, you won't find a direct 5V wire labeled "TPS" coming from a particular source like the alternator or fuse box. The 5V is internally regulated within the PCM and routed to the TPS through the vehicle's wiring harness. Tracing that wire would require a wiring diagram specific to your 1994 Grand Am, and even then, it might be part of a larger harness bundle.