No, this sub will not pathfind. There is something that you could do here though, I'll explain after a few notes about move vs pathfind.
Move allows you to goto locations which are greater then the visible area. Pathfind does not. Move also holds up the script.
Pathfind allows you to go around blocked areas. Move does not. Pathfind doesn't hold up the script.
Ok, now onto the show....
If you use this random stop site, you can immediately do a pathfind afterwards.
I want to land at 1324 x 956
gosub MoveRandomCoord 1324 956 3
event pathfind 1324 956
That would set a random location within 3 spaces around 1324 and 956. After you move to that location (now you are definitely on the same screen as the final destination) you can event pathfind to the exact location.
I used this method when playing around with a discord rail. Works great, especially if you have always run checked.