Would need to know more about your setup. The only time a switch has an IP address is if it is a managed switch and that address is used specifically to manage the switch and nothing else. So the question are
- Is your modem (internet connect) connected to the WAN port on the wireless router
- Does the switch connect to a LAN port on the wireless router
- Are the IP addresses from your wired and wireless connections in the same network segment for example 192.168.0.X with a 255.255.255.0 subnet mask
If they are on the same segment then Windows will use auto metrics to determine which connection (Wireless or Wired) to use. Windows will typically automatically use the faster connection as ussnorway stated. You can...