I've seen a crank or cam sensor do this after "hot soak". It usually sets a code....but I had a crank sensor that didn't. I've also seen vp 44's do it. I had a customer that used a trans fluid funnel and would dump a gallon of water on his pump to get the truck to started in the heat of the summer out here. Finally had the pump replaced and all was good.