Why does the door ajar and interior light stay on in your 1997 Ford Expedition?

I had the same problem and the solution for mine was to spray WD-40 on all of the door lock mechanisms as well as the rear window latch and cycle them a few times.