The alternator would be my first assumption as well. I’ve had a couple of vehicles do the same thing while I drove. All the dash lights flicker on and then the car just dies. You’d have to charge your battery, throw a new battery in or have it towed to your nearest mechanic. Alternator is no longer charging your battery in that case.