Starts good but after warm up it Floods and dies on 1992 Ford F-150

starts good and floods while running and dies have to wait about 25 to 30 minutes before it starts up again

Asked by for the 1992 Ford F-150
I've seen this caused by a bad coolant temperature sensor. When the engine is started cold, it needs more fuel, as it warms up it needs less. If the temp sensor tells the engine computer it is cold, it will continue to give it more fuel.