The Breaker in the headlight switch resets itself as soon as it cools off. Then it will turn the headlights back on untill it gets hot again and then it will shut them down. You would be able to hear the clicking of this happening. It does not sound like this is the problem. I think you are up against a bad conection, bad ground, bad dimmer switch, or a broken wire.
Daily Driver 2008 Wrangler Sahara
Going, Gone, or Thinking Fishing