Interior lights and door ajar light stay on when front passenger door is open. on 1998 Ford Expedition

I've had this problem whenever there is moisture in the air, whenever the front passenger door is open and then closed, the interior lights and door ajar lights will stay on even while driving. Is there a way to just remove that sensor or make it so the vehicle thinks that the door is always closed?

Asked by for the 1998 Ford Expedition
Try this before all that: lube the latches. The door ajar switches are in the latches of the doors. They often get sticky and bind. Lubing them and opening/closing the doors a few times may help free them up and temporarily at least.
1 more answer
Remove Door Sensor connect the two wires together to close the circuit it will think door closed