I don't think he'll be able to pass that test for a long time yet.
この場合、to look to be a long way off を使って言うとちょっと不自然な感じになるので、次のように言うと良いでしょう。
ーI don't think he'll be able to pass that test for a long time yet.
「彼はまだしばらく試験に合格することはできないと思う」
to look to be a long way off を使った例文:
ーMy trip to California looks to be a long way off still because I haven't saved much money.
「まだあまりお金が貯まってないから、カリフォルニアへの旅行はずっと先のことになりそうだ」
ご参考まで!