Alan Shearer made a substitution with the Midas Touch as Newcastle United got the victory that could preserve their Premier League status and condemn Middlesbrough to life in the Championship.
Manager Shearer gambled when he replaced Michael Owen with Obafemi Martins 20 minutes from time with the scoreline locked at 1-1 - an outcome unsuitable to either side as they went in search of the victory required to keep their survival hopes alive.
It was a ploy that paid off in spectacular style as Martins scored within seconds, turning on a loose ball inside the area to shoot low past Middlesbrough keeper Brad Jones and send St James' Park into ecstasy.
Middlesbrough's spirit was broken after a brave fight, and their fate in this match - and in all likelihood this season - was sealed when another Shearer substitute, Peter Lovenkrands, slammed home Newcastle's third from close range with four minutes remaining.
It marked a dramatic change in fortune for Shearer, who had failed to record a victory since taking temporary charge at St James' Park in a bid to rescue Newcastle from relegation.
Newcastle now also have the psychological advantage of moving out of the bottom three and plunging Phil Brown's Hull City into the relegation places as the season reaches its climax.
Newcastle: Harper, Beye, Steven Taylor, Bassong, Duff, Guthrie, Butt, Nolan, Gutierrez (Lovenkrands 65), Owen (Martins 70), Viduka (Carroll 87).
Subs Not Used: Krul, Coloccini, Ryan Taylor, LuaLua.
Booked: Butt, Duff, Nolan.
Goals: Steven Taylor 9, Martins 71, Lovenkrands 86.
Middlesbrough: Jones, Hoyte, Bates, Huth, Taylor (Adam Johnson 76), Downing, O'Neil, Shawky (Aliadiere 69), Sanli, Emnes, Alves (King 36).
Subs Not Used: Turnbull, Arca, McMahon, Grounds.
Booked: Bates.
Goals: Beye 3 og.
Att: 51,252
Ref: Mike Dean (Wirral).
www.bbc.co.uk