Fuel pump possibly....man these wierd run and then no run situations are the worst to narrow down. I'd take a stab at sayin' the fuel pump is going bad.
Check into it...once it dies out...try to keep it running with spraying some starting fluid inside the throttle body. if it runs with the starting fluid then your prob is with fuel delivery.