
Afraid you need a 'Cable Router', not a switch

A switch is mainly useful for adding extra ports behind an existing router, but it doesn't have the ability to share one broadband connection among multiple devices.
The first device powered on will be the only one to get the BB, ie if you power of both PC's, the XBox could use BB, but I doubt that's what you want.