The voltages are correct, to trace to ecu
5v is vcc (shared with map sensor)
The sensor signal is vta pin at ecu
Ground is e01
Idle switch is idl on ecu
The idle switch wire shows a 12v bias which sinks to ground when the idle switch contactors meet in the throttle position sensor.
The vta is the variable signal of the tps
You have switch fault code which can be 1 of the below
1 sta signal missing (your ecu is not seeing 12v +ve at the sta pin on ecu when the key is spun to start. (Ecu goes to startup mode)
2 idl signal is missing (check if tps is wrongly adjusted or idl wire is damaged)
3 your ac switch signal is stuck on. (It has 12v +ve at startup mode)
You also have a knock sensor fault code which can be painful to resolve, either its disconnected or the wiring internally is broken, the wire to it is shielded and when it breaks the shield shorts to the wire.
You also need to make sure the right kind of sensor is used, the last 5afe engines with black sticker ecu had tuned knock sensors, meaning they only pickup knocks at the knocking frequency of the engine, they are identified by having a 2 wire plug at the sensor.
The early kind had a single wire but picks up a lot of noise too.
Dont change one kind of sensor for the other.