Imported from the Apple Support Forums via the Wayback Machine 🔗
The phone will switch when the 2G signal is stronger than the 5G. If the 2G and 5G have different SSIDs (network names) just tap on the i next to the 2G network name in Settings/Wi-Fi and tap "forget this network". If they don't have different names and it is your network go to the network control page with a web browser and change the name of one of those networks so you can differentiate between them.