The setting has nothing to do with switching between networks. "Roaming" means jumping between access points belonging to the same network (that is, having the same SSID aka "network name"). For example, Wi-Fi at a university or company would be provided by dozens of APs all having identical names (SSIDs), so you'd only see one network in the list, but your device would automatically switch APs as you move – similar to a cell phone switching towers.
The difference is: When you roam within a network, there is a minor interruption but your IP address remains the same and your connections remain active. When you switch networks completely then all connections will break. (For example, VoIP calls, or multiplayer games, would completely disconnect.) So usually the system will not automatically switch networks for as long as the old one is still somewhat usable, and this setting does not change that.