Boyle, who also had two assists, scored from the left circle. Vincent Lecavalier picked up his second assist of the game in setting up the game-winner.
Tampa Bay's John Tortorella tied Bob Johnson for the most NHL wins by an Amercian-born coach with 234.
Michel Ouellet and Alexandre Picard also had power-play goals for the Lightning, who had lost five in a row. Mike Smith made 23 saves.
Alex Steen and Jason Blake had the Toronto goals, while Vesa Toskala stopped 24 shots. The Maple Leafs moved within five points of eighth place Philadelphia in the Eastern Conference.
Steen pulled the Maple Leafs to 2-1 just 27 seconds into the third. He skated completely around the net and scored on a baackhander. Blake tied it at 2 with 8:31 left in the period, when he skated in from the left wing and scored despite an attempt to slow him down from behind by Lightning defenseman Shane O'Brien.
Lecavalier hit the post from the right circle with 4:33 remaining in the third. He has gone eight games without a goal, but has eight assists over the stretch.
Ouellet put the Lightning ahead 1-0 with a power-play goal at 8:51 of the first. He has scored a goal in three consecutive games.
Picard made it 2-0 on his first goal since Feb. 22, 2007 - a span of 21 games
- during a power play with 7:47 left in the second. Picard poked home a rebound after Boyle's shot hit the end boards and bounced out in front of the net.