erratic

(adj) having no fixed course; wandering   
The nomad wandered erratically across the desert for many years.