Check your spark immediately after it dies,
if it has spark then take the fuel cap off
and back on, might be a clogged vent in the
cap and when it uses up the air in the tank
and will start soon as more seeps in. Oddly
enough, a bad spark plug can exibit this
condition also. Failing all these tests,
a bad fuel line is next, either leaking air
or collapsing from the heat.