How do I replace brake switch?

Thanks everyone, will give the switch a tweaking and try to figure out why the pedal doesnt fully return.