The 31-year-old striker produced an assured 81st-minute finish just as it looked as though the Magpies would have to settle for a draw in a game they knew was a must-win affair.
It was no more than they deserved on a day when they dominated throughout, but too often lacked the guile of injured duo Yohan Cabaye and Hatem Ben Arfa.
