2007 Saturn Aura dies but starts right back up

i have a 2007 saturn aura, when i got the car the only thing wrong was the gas guage didn’t work, which wasn’t a biggie, i would use trip to keep track, here lately when i’m driving it acts like its running out of gas it will die but start rite back no problem, it doesn’t do this all the time. what would cause it

Bad fuel pump could cause that. Replacing the pump will also replace your fuel sender so your gas gauge might work again.