The union leader’s victory gives his party its first congressional seat in the state in more than 30 years.