318 running rough and losing vacuum when in gear.

when you put it in gear with the drive shaft was off the tail shaft would spin then you jammed it in park that's the noise its like driving 30mph and jamming it into park .