Engine overheating from low fuel

Its starts up and runs for a bit before overheating. The garage that told me it was the fuel pump spoke to me on the phone only and asked I drop it off on Monday at 7AM. I am hoping the thermostat is the issue. That would be great news.