I have a pump from my 1.8t. The upper assembly has failed (outlet pipe cracked) but the pump is fine!
Will it be ok for a TDI?
It would require a couple of bits of fuel line and clamps and your original "upper part" of the assembly + the sender.
I've seen "how tos" where people have replaced the pump as I have described.

Edit: Doh didn't read that you had sourced one already!
1.8T Golf MKIV AGU, Satin Silver, 5 door, sunroof, cruise, upsoluted, Vmaxx coilovers, delocked, aero-wipers, rear polo wiper, silver front indicators, W8 interior light, dimming rear view mirror (to be fitted) - Now GFs.
ED30 Steel grey metallic, 5 door, xenons, sunroof, cruise, highline, armrest, privacy glass and luxury pack 2.