I have a 2006 Expidition that I was commuting with. Sometimes the light would stay on sometimes not. I knew it was the drivers door since I was the only one opening and closing a door. I started by slamming it and quickly went to smacking it on the bottom of the outside door panel where the switches are. There are 2 peanut switches beside each other. One is for door ajar and the other is for the lights. I sprayed the heck out of them with WD-40 at least 6 times and they have been working fine for the past 5 years. I still have both switches that I bought for about $8 each. They are pretty tricky to install. Hope this helps.
It is a new switch in the door. And a can se whit my scanner at it works.