Hey thanks for the reply. Upon further inspection, the switch is working fine, the spring that connects the switch to the brake pedal was super loose so the travel of the brake pedal wasn’t activating the switch. Honestly I’m surprised the spring hadn’t fallen off. I bent the spring & now it’s working as expected.
If not part of the brake wiring.. I am curious what this exposed connector is supposed to be doing though… are all of these bikes like this? (Underneath the seat on the left side, by the battery)