Aston Villa came into this game on a sapping seven-game winless run but this welcome victory over Everton was proof Unai Emery still has the magic touch, not that too many would question his wisdom. At 1-1, after João Gomes cancelled out Jake O’Brien’s opener, Villa’s manager turned to his bench and Brian Madjo, a hulking 17-year-old forward who announced himself by scoring on debut against Paris Saint-Germain in the Super Cup in Salzburg in August.

This time, 54 seconds after replacing Nicolas Jackson, who had a first-half equaliser disallowed for offside, Madjo became Villa’s youngest Premier League goalscorer with his first touch, an exquisite backheel to earn a comeback win over David Moyes’s side. “We really needed this win,” Emery said. “In the first half we were a bit nervous. We need to sometimes play with our heart, but can never forget to use our minds to impose ourselves.”

By the end, Zion Suzuki’s seventh-minute error at a corner, which Everton feasted on when O’Brien headed in, felt an awful long time ago. Villa’s winner was the craft of the substitutes Emi Buendía, who earlier sent a golden chance to seize the lead wide, and Madjo, his goal sufficient for Villa to record just their second league win here this season.

It was a tricky night for both Emiliano Martínez and his heir to the throne at Villa. Suzuki has consistently showcased his outstanding distribution since his £30m arrival from Parma in the summer, and generally impressed, but in recent weeks opposition teams have preyed on the Japan goalkeeper’s undoubted weakness: dealing with crosses, corners his achilles heel.

Suzuki gifted Fulham an equaliser here when he allowed Alex Iwobi’s corner to drop through his gloves and at Old Trafford the next week he was spooked by the presence of his opposite number, Senne Lammens, in the box and Patrick Dorgu helped himself to a 96th-minute equaliser after the Villa goalkeeper failed to gather Bruno Fernandes’s corner into the box.

Here was another unedifying moment, a few minutes after O’Brien diverted a dangerous Johan Manzambi effort wide. James Garner sent an inswinging corner towards the front post, where Jarrad Branthwaite beat Suzuki to the punch. Suzuki was in trouble as a game of head tennis ensued in the six-yard box. Thierno Barry tried to direct the ball goalwards and then O’Brien soared above the returning Matty Cash to head in. The video assistant referee, John Brooks, cast his eye over a possible offside but there was no hiding place for Suzuki, whose aghast expression said it all.

Jake O’Brien puts Everton ahead.

The goal seemed to rock Villa and Jack Grealish, the boyhood Villa supporter back on his old stomping ground, teed up Kiernan Dewsbury-Hall for a rising first-time shot from just inside the box. Villa required a jolt. Emery encouraged his players after some pinball culminated in Vitalii Mykolenko making a desperate block to deny Manzambi from the edge of the six-yard box.

Emery knows the value of this place being a fortress but his side have struggled since the North Stand renovations began, leaving an empty, eerie concrete structure at one end. Everton were just the latest team to expose their vulnerabilities, the home comforts of 11 straight home wins here last season a distant memory. Everton should have doubled their lead before the interval, Branthwaite glancing a header from a Garner free-kick inches wide on the verge of half-time.

Emery realised his team were second best and made a double change at the break, Taylor Harwood-Bellis and Buendía entering in place of the ineffective Alysson and Boubacar Kamara, who had been subdued in midfield. Emery deployed Harwood-Bellis, a centre-back by trade who has predominantly played at right-back for Villa, as a No 6. Harwood-Bellis created one of Villa’s first openings of the second half, Jackson racing on to his through ball before curling wide of Jordan Pickford’s goal.

Everton would rue missed chances to extend their lead. Barry sent a poor header bouncing over from a devilish Grealish cross and earlier allowed another sight of goal to fizzle out. Villa levelled on the hour, Gomes building on his first goal of the season at Ipswich last weekend with a powerful strike that sent Emery hopping along his technical area. Moyes and his assistants, Alan Irvine and Leighton Baines, immediately began the defensive postmortem.

Things spiralled from there for the visitors. Buendía sent a crisp shot wide from a neat cutback by John McGinn, this his 350th appearance for Villa. The killer blow arrived a few minutes later, Madjo superbly flicking Buendía’s first-time cross past Pickford to floor Everton. Dewsbury-Hall’s late desperation to find an equaliser culminated in a foul throw, his reaction triggering a booking from the referee, Thomas Bramall, and Grealish then received a yellow card for dissent. For Everton, it was a sour end to a once promising night. “Wasteful for long periods of the game,” was Moyes’s succinct assessment.