Runs then dies

It could be as simple as a dirty needle and seat. If it’s dripping fuel while it’s idling it’s loading up the plugs and causing it to die.