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/InstallationCurtain Air Bag Module [Standard Deployment Control System]
Purpose
When a curtain air bag module receives an impact from a lateral collision,
the operation (deployment) of the air bag mediates the impact to the head of
the driver and front passenger.
Function
When a curtain air bag module receives an impact from a lateral collision ...
Moonroof
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open moonroof
while the vehicle is moving:
Extending the head, arms, or other parts of the body through the moonroof is
da ...
Exhaust Manifold
Purpose, Function
By lengthening the exhaust passage, the transmission of exhaust pressure
waves to other cylinders can be delayed, and the amount of gas exhausted from
a cylinder and forced back inside the combustion chamber is reduced By reducing
the residual gas, the temperature i ...