Percolation? Heat soak? Don't drive during summer??

I wonder if that shotty connection is actually what has been making the car die and not restart....