The second picture you posted is a mk1 cluster (1984 and earlier), those are different still, it's not for the mk2. It's from like an early-80s Rabbit probably and does not have a tachometer and does not interchange with the later parts.
There are 2 generations of wiring harnesses in the mk2, as mentioned CE1 & CE2 (CE = central electronics) and the plugs and pinouts are the same as long as you stay within the same generation. CE1 = 2 plugs, CE2 = single plug... The U.S. diesel tach cluster for mk2 looks exactly like your bottom pic, but with miles instead of kmh (and the clock is 12 hour instead of 24 hour format). They exist but are rare. Some of the mk2 U.S. diesel cars did not get the tachometer, they have the big clock too, but in the CE1 format.
You can swap the speedometers as long as you say within the same generation, and it looks like that's what you have. This does require some dis-assembly of the instrument cluster, however, but the whole speedometer assembly does come out.
The wiring pinouts on the clusters if I'm reading my Bentley correctly are exactly the same for both CE1 clusters, the glow plug indicator replaces the wire to the oxygen sensor mileage counter box on the firewall... though you may have to connect wires to the correct pinout for the alternator's tach signal drive (w-terminal) and glow plug warning light terminal on the relay because those were installed later and probably aren't connected to anything now...