340 cranks over forever when warm

dosent matter how far I push down on the throttle. It has an electric fuel pump and fuel lines are away from heat sources. I will put a new coil on tomorrow and see if that helps since it looks really old anyhow and the bracket to it is loose