I suddenly stopped in my tracks.

Literal

I [topic-は] suddenly feet [object-を] stopped.

ふと ('suddenly, unexpectedly, on impulse') — an adverb for unplanned, momentary actions. 足を止める ('to stop one's feet, halt') is a set expression for stopping while walking. The combination suggests an abrupt, involuntary stop.