I think so. They basically just close the connection between the pins. Some have a lever and or roller on top which aren't needed for any mice I have seen. I have used the linked ones in my MX500. Before that, I ripped one from another mouse and my MX500 is still alive and well.
Edit: I was in no hurry when I got the ones linked above. They have free shipping and the switches themselves are dirt cheap, but the delivery time is kind of long. You may be able to get them faster locally.