Moyes succeeded Sir Alex Ferguson as manager but was relieved of his duties on Tuesday, just 10 months into a six-year contract after guiding United to their worst season in the Premier League era.
O'Farrell's own tenure in charge at Old Trafford lasted only 18 months and had striking similarities to Moyes' reign.
The Irishman took over from one of United's most successful managers in 1971, Matt Busby, who - like Ferguson - hand picked his successor.
O'Farrell believes Moyes wasn't given enough time to impose himself on United, unlike Busby and Ferguson who also enjoyed difficult starts to their careers in Manchester.
"It took Alex Ferguson a while to become successful there and they were thinking of sacking him early on in his career," said the 86-year-old.
"It took Matt Busby three years before he won the FA Cup. So they didn't do things the first season they went in and won a trophy, it took them two or three years before they were able to win a trophy.
"And it takes that time to sort out the team, to assess your team, the players and find out what weaknesses you have and get a player to fill that position. I mean that takes you two or three years to do that."
As clubs push for the financial gain which comes from playing in the UEFA Champions League, there is added pressure on managers to ensure their team qualifies for Europe.
And O'Farrell believes United's failure to reach the Champions League for the first time in 19 years brought about Moyes' axing.
"He's only been there 12 months but the pressure on United now to be in the Champions League all the time... then if they're not in the Champions League then they are deemed to be a failure and they lose a lot of money, and sack the manager," he said.
"The next manager to come in he'll have some short comings as well, there's no perfect manager."
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.