I know the only trannies that will work are going to come from 4.0L 4wd drive trucks and Explorers. The 2.3's, 2.5's, 3.0's etc all have different bell housing patterns.
As to what years, any 94 A4LD tranny from a 4.0L will fit, and other than that it should any and all A4LD's from 4.0L motors.
This would probabaly help you, and maybe somebody else knows, but would an A4LD from behind a 2.9 work? I know they have the same bellhousing patterns.