Throttle Position Sensor
The throttle position sensor provides feedback to the ECU to ascertain enrichment when “pumping” the throttle, or if running in Alpha-N mode where Load is determined by throttle position, to determine the load input for the VE equation. It is also used for an array of other systems such as idle control, so it is important to have a working and calibrated throttle sensor.

Most throttle sensors are three-wire. They require a 5V reference, a ground, and then output a 0-5v signal dependant on the position of the sensors shaft in relation to its body..
On most sensors, the centre pin is signal. It doesn't matter which way you wire the 5v reference or ground as the software will automatically compensate if they are wired back to front. However, if possible, you should aim for the sensors signal output wire to be near 0V when the throttle is closed, and near 5V when the throttle is wide-open.
See here for how to can calibrate it.
Simply follow the on-screen instructions and your TPS will be correctly calibrated.
An example of wiring a throttle sensor for the ME442 is shown here as part of the basic sensors..