Join strings from 'file1' and 'file2', discarding excessive strings from largest file, and printing first, second and third space-separated field from first file, and third and fourth field from second file as a join result
join -o 1.2,1.3,2.4,2.5,1.4 <(cat -n file1) <(cat -n file2)