Starts then shuts off?????

either that or it might be the ignition controller shorting or something. it's simple to change and priced around 100 bucks. the way to test is to but a 5 dollar spark tester and see if it stops sparking before the engine dies. if it doesn't, check that you are getting fuel. Change the fuel filter anyways.