DTC P0705, P0850: Transmission Range Sensor Circuit Malfunction (PRNDL Input) & Park/Neutral Switch Input Circuit: Wiring Diagram
WARNING: This page is about a different car, the 2004 Toyota Corolla. However, it is still accessible from the selected car via links, so may be relevant.