When it shuts off, will it restart? Have you confirmed whether spark is present? I just went thru something similar and last evening found the root cause to a an intermittent connector to the distributor. Apparently the thermal expansion as the motor got up to temp, combined with the vibration of the motor running would cause the connection to open, killing the pulses from the distributor to the ignition box.