If still overheating after replacing thermostat water pump and flushing radiator you can run for approx 5 miles before Is this a blow head gasket?
A blown head gasket can be a cause of overheating, it would need to be thoroughly diagnosed and repaired.