This is the 3362nd most frequent Spanish word.
cruzar
To cross.
In this sentence, 'cruzar' is used in its literal meaning of 'crossing', referring to moving or passing from one side of the street to the other.
Necesitamos cruzar la calle para llegar al parque.
We need to cross the street to get to the park.
'Cruzar' here is used figuratively, meaning that the thought appeared or traversed within the speaker's mind.
Una idea se me cruzó por la mente.
An idea crossed my mind.
In this instance, 'cruzar' is used metaphorically to indicate that two people's lives or paths intersected or encountered each other.