Why does engine cut off after idling for awhile?

bypass the ballast resistor for a trip. It wont hurt anything for an hour. The ballast resistor gets hot and changes resistance (more) to reduce voltage to points so they last longer. yours could be cracked/defective and going open.