1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationLiftgate Latch Switch
Purpose, Function
The switch turns on/off in conjunction with the rotation of the latch lever,
and it detects the open/closed condition of the liftgate by the voltage value
which is changed by the rear body control module (RBCM).
Construction
The switch is turned on/off by ...
Quick Release (Fuel System) Connector
Purpose, Function
Serviceability has been improved by the easy disconnection/connection.
Construction
The following types of the quick release connectors are used.
U.S.A. and CANADA
Except U.S.A. and CANADA
Type A
An SST is not used with this type.
...
Recliner Motor Inspection
WARNING:
Handling a side air bag improperly can accidentally operate (deploy) the
air bag, which may seriously injure you. Read the service warnings/cautions
in the Workshop Manual before handling the front seat (side air bag integrated)..
1. Disconnect the negative battery cable ...