Welcome to justanswer
Most likely the speed sensor is the problem
See #6 VSS
The sensor looks like this.
Check O-ring (1) and VSS surface for their flawlessness, apply grease to O-ring and then install VSS to transaxle. Grease 99000-25010 Tightening torque VSS bolt (a): 5.5 Nm (0.55 kgf-cm, 4.0 ft. lbs.)