car stalls all the time on 2002 Buick Regal

car just dies anytime anywhere at cold or warm temps but it always warning at all or no dummy lights come on before it stalls it just dies...

Asked by for the 2002 Buick Regal
mass air flow sensor goes bad and causes that
well I took it to a buick dealer and they said it was the ignition switch went I had them fix it to a tune of 460.0 bucks later and the car is doing fine...go figure