Find all files with any extension and pipe them to a command that will replace the first two words in each line with the second two words in each line.
find . -name '*.*' | xargs sed -i 's/^\([^ ]*\) *\([^ ]*\)$/\2 \1/'