Check the clutch pedal switch as I mentioned above as you say it stops when putting into gear and moving slightly this actuates this switch, it does seem like the TPS but having replaced it twice and getting the correct readings it seems unlikely.
1200 RPM is also a fast idle (Unless on cold start of course)
Martin