I don't think that error could be caused by fuel or air sensors.
That error means that the throttle position sensor is "out of range". Inspect the sensor itself, the wiring and the plug for damage. You might try going through the calibration procedure.