The new switch may have different colour wires, and a different connection block. I use bullet connectors, the brass things used on a standard Lotus loom. You need a crimping tool to squash the new connection bullets on the the bare wire ends.
Keep the old switch, so you can work out how to connect the wires. It is logical, connect one at a time, and you should end up with them connected correctly.