in reply to exchange words in text

If you are on unix and your data are ordered as you have shown, try:
join file2 file1 | cut -f2-4 -d ' '