Runs and shuts off

While it's running take a heat gun to the coil. I've seen coils that get hot shut down and then are ok after they cool down. Just a thought
Mike