Hot cabin=no start

When my 1998 truck has been parked in the sun for awhile it will not start. If I open doors and windows for 10 minutes it will start and run fine. The fuel pump is shutting off as the engine will fire with ether. Is there a safety sensor or fuel pressure sensor that is being tripped due to the heat in the cabin?

Maybe fuel pump relay under the dash?

Never saw heat in the cab inhibit stsrting (I conclude cranking is good) on a GM pickup.

This 10 min. time-out makes me think Passlock.

Exactly what is it doing and not doing when you try to start it?
Is the starter motor turning the engine normally or not?

It’s cranking but getting no fuel. Fuel pump is shut off when cabin is hot. The engine will fire with ether.