If it starts after sitting for less than a minute it could be floats not adjusted, especially if it does not die under light driving but does using more throttle. But if it has to set for a while to “cool down”, possibly the coil and an earlier response is right. Put a light on it or hook up a spare grounded plug and check the spark. Newbie here. Liking the site.