Possibly gas cap vent hole plugged, bad coil. If it acts like its starving for fuel (missing, or sputtering before dying), possibly gas line, fuel filter clogging, float sticking, dirt in fuel tank plugging screen. All of those things can account for a motor that runs for a while and then dies. It's going to be ignition, or fuel supply. I would first suspect fuel supply.