Why is my car stalling only in hot weather? on 1999 Pontiac Grand Prix

I have also replaced purge solenoid, also my fuel gauge does not work. Thanks!

Asked by for the 1999 Pontiac Grand Prix
is the check engine light coming on?
No it is not. Car runs fine until it gets hot out. Then it dies but starts right back up. Fuel pump primes but doesnt sound good until the 5 or 6th prime