can the ing switch do this

Check your connector from the IGN switch to the dash harness. The connectors can get corroded or loose, and it won't make contact on all the pins.

My dart was quitting while I was going down the road, and then it would immediately restart, and I found this when I looked deeper into it: