As Gremlin says, the likely cause is a stuck plunger in the micro switch

All the Honda front brake light switches I've come across however are just a "push fit" in the lever bracket

A quick inspection of the lever assembly will confirm if this is the case

Whilst holding the brake lever in the "on" position you should be able to see the tiny plunger

Take a small screwdriver (or other suitable implement) and try to push the plunger in

If it moves then the problem is not there but either inside the switch or the wires connected to it

If the plunger doesn't move in & out freely then a little "liquid engineering" such as WD40 should be sufficient to free it up

Be gentle with it, it's only made of plastic, but they are generally quite robust & reliable

Best of luck with it, let us know how you get on