WARNING: This page is about a different car, the 2008 Toyota Yaris. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Identifying Transmission Revolution Sensor Replacement Components And Torque Specifications (1 Of 2)