Dianose problem

I have a 2000 Subaru with 92000 miles.Sometimes it won’t engage into drive gear. It hesitates, sometimes up to 5 minutes before engaging.I have had the fluid and filter replaced twice.

Does it do this in both forward and reverse? It is a little early and low mileage to be having a lazy piston seal.

Hope to help.