Replacing the brake light switch?

Is there trick to getting the old one off and the new on?20170523_161530_resized.jpg

I tried a pair of pliers and it's not moving. I don't want to break it!