Sound like possible fuel vapor lock.
Stop and go traffic?
Steady state highway speeds?
Mech or Elec fuel pump?
Return or return-less fuel pressure regulator?
Insulated fuel lines?
Some pics of the engine compartment would help.
Can also be the carb itself getting hot. An insulator type base gasket can help.
https://www.amazon.com/gp/product/B0...KIKX0DER&psc=1
How old is the gas in the tank?
I had an MSD box go out when hot awhile back. Although the box was in the passenger compartment under the dash.
It would hard die not sputter and emit black smoke like a vapor lock will.
If you want to troubleshoot the ignition once it fails: To check the Box, coil, mag pickup.
https://www.holley.com/support/troub...ng_techniques/
Or take a spare spark plug with you. Pull the most convenient accessible plug wire and jack the spare in, lay the plug against the intake manifold to get a ground on the base. Have someone crank the engine and look for a spark.