Why would the brake lights stay on whenever the car is on even after you have replaced the brake light switch?

Out of adjustment. Adjust the mounting of the switch so the brakes lights are off until you press the brake pedal.