Massachusetts Attorney General Maura Healey scored a decisive and historic victory Tuesday night, becoming the state’s first elected female and first openly gay governor.