に出くわした

came across

→ に
phrase Uncommon #15,560
came across The particle に marks the person or thing encountered. 出くわした is the past form of 出くわす.
JA: 駅で偶然、先生に出くわした。
EN: I ran into my teacher at the station by chance.

たまたま俺に出くわしただけだ

You just happened to run into me.

— ブレット・トレイン (2022)

帰り道で犬に出くわしたんだ。

I ran into a dog on my way home.

今日誰に出くわしたと思いますか。

Guess who I ran into today.

偶然、彼女に出くわした。

I ran into her by chance.

私は駅で彼に出くわした。

I ran into him at the station.

私はまだこんな奇妙な事件に出くわしたことがない。

I've never come across such a strange case before.

通りを歩いているとき、その女性に出くわした。

I ran into that woman while walking down the street.

あちこちでトラブルに出くわしたんだ。

I ran into trouble in all sorts of places.

我々はニューヨークで彼らに出くわした。

We ran into them in New York.

その店で偶然彼女に出くわした。

I ran into her by chance at that store.

あの店で彼に出くわした。

I ran into him at that store.

旧友に出くわした。

I ran into an old friend.

何度も彼に出くわした。

I kept running into him.