318 Poly idling question

Sounds like the coil is on its way out. Could also be the fuel tank vent is plugged. Next time it stalls pop the air cleaner and look down the carb to see if you have fuel, if your getting fuel to the carb when it dies its definatly electrical.

Good place to start.