Scott Brown endorsed president Donald Trump at a pivotal time in the US election campaign.