1) Turn the ignition switch to OFF.
2) Disconnect the stop light switch connector.
3) Measure the resistance of stop light switch terminals.
Is the resistance 1 MΩ or more when switch is OFF (when pedal is not depressed)?
Replace the stop light switch.