To trace to the ecu, the voltages are correct.
VCC is 5v (shared with map sensor)
At the ecu, the sensor signal is on pin VTA.
e01 is ground.
The ecu's idle switch is idl.
When the idle switch contactors in the throttle position sensor come together, the idle switch wire's 12v bias dips to ground.
The tps's variable signal is called the vta.
The switch fault code you have may be one of the following.
When the key is twisted to start, there is one sta signal missing (your ecu is not seeing 12v +ve at the sta pin on the ecu). (The ecu enters startup mode)
2 IDL signal is not present (check if tps is wrongly adjusted or idl wire is damaged)
The signal on your ac switch is stuck on. (Its startup mode has 12v +ve)
Additionally, you have a knock sensor fault code that might be difficult to fix because it may be unplugged or the wiring may have broken internally. The wire leading to this sensor is shielded, so when it breaks, the shield shorts to the wire.
The correct type of sensor must also be used; for example, the latest 5AFE engines with black sticker ecus had tuned knock sensors, which only detected knocks at the engine's knocking frequency. You can tell if one of these sensors is being used if it has a two-wire plug at the sensor.
Early models only had a