Duk has been below his usual levels for the Dons since the start of the season and his form has found reflection in Aberdeen’s performances.
Barry Robson’s side had gone five games without a win before last Saturday’s game at home against Ross County.
Duk managed to score his first goal of the season against Ross County and also set up Bojan Miovski’s second goal in the 52nd minute.
Shearer, who fully comprehends the pressure Duk had been going through, believes that the goal worked as a confidence booster for the 23-year-old.
“Going 14 games without scoring is tough on a striker. I know, I think I went 14 minutes without scoring once”, Shearer joked in his column for the Press and Journal.
“Seriously, the effect getting a goal had on the Cape Verde international was clear for all to see as he came out for the second half as if the weight of the world had been lifted from his shoulders.
“There was a spring in his step, not to mention his trademark power and of course some outrageous skill thrown in for good measure in a rousing second-half display.
“His backheel flick of the ball through to Miovski for the fourth goal was sensational.”
The 23-year-old Cape Verde international has so far helped in setting up two goals for his team-mates.