DTC P0982: Shift Solenoid "D" Control Circuit Low (Shift Solenoid Valve S4); DTC P0983: Shift Solenoid "D" Control Circuit High (Shift Solenoid Valve S4): Wiring Diagram
WARNING: This page is about a different car, the 2011 Toyota Matrix. However, it is still accessible from the selected car via links, so may be relevant.