Republican presidential candidate Donald Trump has received the endorsement of a New England union that represents police and corrections officers.