How Can I Make Al Random Path Selector?

I want to do Random Path selection but I don’t know how to do it. So what I want to do is this: let’s say there are X, Y and Z locations, I want to put these locations in a random order and I want it to visit those locations one by one.