It plugged into a switch on the top of the rear gearbox. As you look at the engine from the rear of the van, you can see said switch directly behind, and below the starter motor.
My question is, what is this switch for? The reason I ask, is because since plugging it in, my engine won't start now. So unplugged it again, and engine still won't start, it don't fire up, turn over, or even engage the starter motor.
Now the starter motor has recently been replaced by a local garage with a new Bosch starter motor, and I assumed that said garage forgot to plug this plug back in. I was under the impression the switch maybe for the reversing lights?
If said switch is for the reversing lights, then why could it possibly prevent me from starting the engine?
Any pointers on said switch would be greatly appreciated as currently I cannot go anywhere, and stuck up on my ramps.
Photos.
Plug with brown, and blue and brown wires..

Two pin(shielded)

Location of switch as pointed out..

Also found this thick red & black wire, which I may of just accidentally unplugged whist pulling this plug up to look at?

Thanks in advance!