Dakota Joshua had a goal and an assist, and Joseph Woll turned away 40 shots in the Toronto Maple Leafs’ 4-3 win over the New York Rangers.