Gauges occasionally don't work and then car won't start

I have a '99 Dodge Grand Caravan and for the last week the gauges would occasionally go out for a few seconds but all other electronics work. It has slowly gotten worse & if the gauges don’t work when I start the car, the car will turn over but stalls. I have a brand new battery, checked the terminals and the alternator is fine. Once the car is running, if the gauges go there seems to be no effect on the car. Any ideas?

Check the ignition switch. Put the key in the ignition and jiggle it around. If the gauge lights go on & off, replace the switch.