I had a Ford 302 act just like that. It would start to run rough and miss erratically when hot. If I stopped at a store for 5 minutes and started it back up, it would be perfectly smooth. I replaced the intake manifold and carb base gaskets, thinking that it had an erratic vacuum leak, related to temperature, but that did not fix it. I never found the cause; I worked on the ignition system, replacing a lot of the parts, and that intake manifold area. I cannot recall if enriching the mixture made it better or not. I never replaced the carb or the distributor or coil.