I would begin with the wiring harnesses under the hood. Might be just a little corrosion. If that's not it, try playing with your fog lights, dome, parking lights, etc. It might work. I've seen jeeps do stranger things. After that, I'd check out the switch in the steering column and also test connections with a tester light.
Good luck to you and welcome to WF
Neil Young rocks