What would make the Door Ajar light to come on and interior and running board lights stay on in a 97 Expedition?

== == Mine was tested and it was the back hatch I sprayed wd40 in it and slamed the door harder than normal and never had anouther problem with it If that didn't fix it check to make sure that the relay switch in the fuse box is good. Well, the WD40 worked great on our 1998 Ford Expedition. Sprayed all the doors and it has worked fine since. Wes Harris