Tyler Herro scored 10 of his 28 points in the fourth quarter and overtime, Andrew Wiggins added 25 points and the Miami Heat snapped a four-game losing streak by beating the Toronto Raptors 120-111.