You have a 2001 Chevy Mailbu that starts up the dash lights flicker then it stalls Sometimes you can drive it many miles other times it won't stay started?

I've had this happen to me years ago. You can have an auto parts store test your alternator and hope that's it. But in my case, it was a warped head.