The striker claimed his 12th goal of the season in injury time of a game the Magpies should have had wrapped up long before. It clinched a first victory since January 18 and ended a run of five successive home defeats.
Remy and strike-partner Papiss Cisse had earlier wasted glorious opportunities to put Alan Pardew's men ahead in a game which rarely hit the heights, but the former's late contribution proved enough to seal a 1-0 win.
Villa gave as good as they got for long periods, but looked to be fortunate not to concede an 81st-minute penalty when the ball appeared to strike defender Leandro Bacuna's arm inside the box.
Newcastle went into the game having lost each of their last five fixtures in all competitions at St James' and with the club moving to deny that Pardew's job was on the line if he did not remedy that situation today.
The initial signs were positive as a team strengthened significantly by the return of Fabricio Coloccini and Cheick Tiote from injury and Remy from suspension set about their task in determined fashion.
Remy forced a second-minute save from Brad Guzan with a well-struck effort and Cisse almost embarrassed the American eight minutes later with a drilled effort which he spilled, fortunately at the feet of team-mate Nathan Baker.
However, the wheels then rather came off for the Magpies as Villa found their feet and started to hit their hosts on the counter with the pace of Gabriel Agbonlahor a particular threat.
Midfielder Karim El Ahmadi had already fired across the face of goal twice when Agbonlahor forced a 19th-minute save from Tim Krul after Ashley Westwood had set him up, and he blasted a long-range effort inches over the crossbar seconds later.
Pardew, who had signalled his intention to play two strikers for the remainder of the season in his programme notes, swiftly abandoned the system in favour of a 4-5-1 formation, and while that helped to stem the tide, it did little to improve Newcastle's creativity.
Remy saw a 44th-minute free-kick just wide, but Cisse really should have scored in first half-injury time after being picked out by the Frenchman in front of goal, but his shot was too high.
Villa's efforts to deny the home side time and space proved effective and the Magpies became increasingly frustrated as they struggled to find any cohesion.
They did, however, with 53 minutes gone when Remy flicked Moussa Sissoko's pass into the path of Yoan Gouffran, whose right-foot shot flew just wide.
But with neither side able to retain possession for more than a handful of rudimentary passes, chances were few and far between.
However, left-back Paul Dummett when desperately close when he curled a 20-yard shot just over with 63 minutes gone, and Gouffran volleyed high and wide two minutes later with Newcastle pressing.
Tiote fired tamely at Guzan and Sissoko scuffed harmlessly wide as the home, then Remy forced a diving save from Guzan with a well-struck effort 10 minutes from time.
The home side were furious not to be awarded a penalty seconds later after the ball appeared to strike Bacuna's arm.
The Magpies should have snatched victory when substitute Luuk de Jong robbed Ron Vlaar on the goal-line and squared for Remy, who contrived to hit the upright.
But the France international redeemed himself two minutes into stoppage time when he spun inside the box to thump home left-foot volley past the helpless Guzan.