Let me also try to explain the difference.
First, some background information. Every NIC (Network Interface Card) has a sort of serial number burned into it at the factory, called the MAC address. Also, a NIC has an IP address specified by either you or your ISP.
A switch is a simple device that switches packets based on their MAC address. For example, if there are five machines plugged into it, (all with different MAC addys, of course), and machine#1 wants to send data to machine#4, it puts #4's MAC address into the frame and sends it. The switch examines it and knows that machine#4 is destined to receive it. As simple as that.
A router uses IP addresses for routing -- it examines the destination IP address and intelligently determines where to send it based on the ruleset it has been given by the network administrator.