Remove and check the stop light & brake switch.
Are the stop light switch and brake switch OK?
Replace the ECM.
Replace the stoplight & brake switch.