Brake light switch???

What really helps when asking such questions is photos. Otherwise, nobody knows what your original and new switches look like.