Just had this problem with my ZJ. Except my dashlights would flash, but the headlights started to as well. Brought to the stealership, and the Headlight switch was bad. Just a forewarning that the part is about $180. And my advice is install it yourself, easy to do if you can pop the dash off, don't pay them $120 to install it.
97 ZJ Chop Top-Buggy 5.2L V8, 249 T-Case
5" Lift, JKS Front and Rear Adj. Trackbars, RE Twin Tube Shocks, RE T-Case Drop, Cut Fenders, Chop Top, Half Doors.
33"x13"x16" Super Swamper TSLs on Black Steelies
Custom Rack, 4 Roof Lights, Roof Back-up Lights