Noel Acciari scored the game-winning goal in the third period and William Nylander notched his 40th of the season to lead the Toronto Maple Leafs to a 3-2 win against the New York Rangers.