There's a switch at the top and bottom of the brake pedal travel. IINM either one can cause issues with the cruise control.
This is the top switch for the clutch pedal, but the brake switches look basically the same. There is a connector at one end and a pin at the other end that either sticks out a little or is pressed in by a rubber stop on the pedal. The switch screws into the pedal assembly.