brake light stays on on 2004 Ford Explorer

brake lights stay on "sometimes"! and when noticed, all I do is hit the brake pedal and lts go out......

2 answers
It's probably a misadjusted or bad brake pedal.
The Rear Brake lights are on?? It could be the switch right behind the brake pedal. It is spring loaded and sometimes they wear out.