Both Ethernet hubs and switches are networking devices designed to connect multiple computers to a network. Typically though, a switch is used to connect the various network segments, such as PCs, gaming consoles, etc., whereas hubs are usually used to connect multiple Ethernet devices together and make them act as a single segment. Due to this difference, switches are capable of performing better than a hub, by selectively forwarding data to the network segments that actually need it.
A switch is a better option for home networks, especially if you use applications that generate high amounts of traffic, such as heavy audio file-sharing or playing multiplayer games. With this in mind, all you have to do is choose the best Ethernet switch for your home network.