That is your brake proportioning valve and you absolutely need to install that inline between the master cylinder and the brakes. It's used to equalize the pressure of the brake fluid so the front and rear brakes sync when stopping. Once installed, you'll bleed the system, then adjust the valve incrementally until the front brakes lock just before the rear brakes do.