If it is the ignition switch you could soon have trouble starting the car if you haven’t already. It will start but then die immediately.
Here’s what happened to me…for a couple years, a couple times per year, my gauges cut out and the car died but quickly came back on again. This past year on a long drive, the gauges cut out and the car died and took a few seconds to come back on…this happened a few times on that drive. When I stopped for gas I shut the car off (dumb idea), and it would start again but die immediately. Tried starting it several times and it finally ran and I got home. I replaced the switch the next day and had no more problems.
In retrospect the slight burning plastic smell in the car on that drive was the solder point on the switch melting the plastic housing.
There are many ignition switch threads, and a DIY guide if you need them.