数年前に

a few years ago

→ 数年
phrase Rare #34,823
a few years ago 数年前 means “a few years ago,” and に marks the time when an event occurred. It usually comes before the verb.
JA: 数年前にこの町へ引っ越しました。
EN: I moved to this town a few years ago.

でも数年前に母はあると知り合って彼の言うままにこのモーテルを建てたんだ

But a few years ago, my mother met a man... and built this motel just as he told her to.

— サイコ (1960)

私は数年前に彼女に会ったことを忘れていた

I had forgotten that I had met her a few years ago.

彼は数年前に死んだ

He died several years ago.

僕たち数年前にヨーロッパ出会ったんだ

We met in Europe a few years ago.

トム数年前に亡くなりました

Tom died a few years ago.