The switch that has 5 terminals on it is correct. 3 for the wiper motor, 1 for the power, and 1 for the washer. Usually washer wire is yellow if I recall correctly and red for power and the wiper motor has a plug that will mate properly.
Interesting to note that if you reverse the power and washer wires on the switch the wipers will only work if you push in on the switch.
Note not every switch is made this way but 3 terminals will have to line up for the plug from the wiper motor.
For Example this is a new switch that everyoone seems to get when they buy a replacement: