why in hot weather does my car just shut off and than i have to start it again? on 1999 Acura TL

when the weather is hot, my car shuts off while driving on freeway and once i start it quickly, it runs fine?

Asked by for the 1999 Acura TL
ck for codes it sounds like poss ign is overheating or module. have diag done and get est