Jerry,looked thru some info. Majority of Ford truck dome lights problems are as I stated above. I would clean & lube the door latches and see what happens.
Other problems would be broken wires in the boot @ door hinge area.
Also water intrusion from leaking windshield on drivers side that leaks into fuse box and or GEM module. GEM module controls lots of componets such as power windows ,door locks,lights, etc.