What is the proper name for this?

It's a proportioning valve. The wire should just twist/pull of, it's what triggers the brake light in the dash.