can be one of the following, had tis on the girlfriends GTI 1.8t.
Firstly, pull the throttle body off and clean it internally. Also clean contacts on throttle sensor. Replace coolant temp sensor (I know it sounds weird, but is aiding to issues)
As you have misfiring, it could be plugs and or coil-packs. With those Audis A4's the coil packs are not that expensive, Perhaps it would be a good time to replace all 4 and new plugs? Just do not replace one only, as it will start a chain reaction and each one of the others will blow. (to do with resistance differences)
There after you should be sorted. It could be ignition Amplifier as pointed else where. Swap coil packs around and see if misfire stays on cylinder 2 or goes to allocated cylinder. If it changes location, it's coil pack. If it's stays on cylinder 2 it's ignition amplifier.
Hopefully this helps.