TPS you can work out with a multimeter. 4 wires:

- 5V
- GND
- TPS signal
- IDL signal

And to work out what's what:

5V and GND have a constant resistance between them even as you move the throttle.
IDL is shorted to GND when the throttle is fully closed. Goes to open circuit as soon as the throttle opens
TPS signal to GND varies as the throttle opens (can't remember if it goes up or down)

And GND will probably be brown.
5V could well be yellow.

Don't join the IDL and TPS wires.

Hen