An expert witness who hammered home to the jury his view that a car accident was the defendant’s fault may have cost the plaintiff her recovery.

The expert “usurped the function of both the court and the jury when he repeatedly testified that defendant’s conduct was the proximate cause of the accident,” a New Jersey appeals court ruled Tuesday in ordering a new liability trial.