Car shuts down when temp is hot

my van runs fine until it gets hot outside,then it shuts down,and after it cools down it starts back up again running fine

Sounds electrical, maybe ignition module. Could be something as simple as a new battery. Take it to AutoZone or Advance and see if it has any codes.

How hot is hot? You could be overheating, or it could be a temperature sensitive issue.