Have 98 Ford Ranger, 4.0, 171,000 miles, auto trans with limited slip. I've owned truck since new and have changed trans fluid every 30-35

000 miles and have never towed anything. The majority of the 171,000 miles are interstate driving. The truck shifts fine with no jerking or slippage. What I do get is thump(s) in rear end when I come to a stop, as gears are downshifting.

Do I need a new transmission? Any suggestions?

Added (1). I suppose it's a "clunk" I hear and feel when I come to a stop, not a thump.

Inspect the drive shaft universal joints. More than likely one of both are defective and will need replacing. Park the truck on a level surface, crawl under the truck and rotate the drive shaft right and left. There should be no free play in either joint. If there's they are defective. You should also inspect the rear shocks as one might be broken which can cause a thump. Another possibility is a broken spring or exhaust clamp. Check everything in the rear.