You should have a spring connected to your brake light switch. Check the tension on that or if it's still there.
It'll be on the inside where the lever pivots, if that make any sense.
Failing that, your switch may be sticking.
Always good to lubricate all moving parts too. Give them a good spray up.