That two pin sensor is the thermotime sensor for the cold start injector. It closes for a few seconds only, (time) and only when below a certain temp (thermo).
I hope you ordered the new sensor from vwspares.co.uk, and not vw(rip off) or gsf(load of wank)