DTC 51 - Switch Condition Signal: Procedures:
WARNING: This page is about a different car, the 1994 Toyota Paseo. However, it is still accessible from the selected car via links, so may be relevant.
To check throttle position sensor or circuit, see DTC 41.