Pics need help...
At a guess, I'd say that's either your backup lights, or your tranny speed sensor plug. If it's running, turn the key to on and put it in reverse to check the one, and hammer the snot out of the brakes to see if you still have antilock braking for the other.
This is all dependant on that connector being an electrical connection, of course.