318 won't stay running

Ignition Module.
Could also be the pick up in the distributor, seen them go bad when hot.