Problem I can’t solve

As some of you already know, I have the engine light come on and flash as soon as I hit 40mph.

The Pcode is 0705. The gear selector always shows the correct reading. It has never had an "E" show on the selector. I don’t get a limp home.

I have replaced the speed sensor with a new one also cleaned this connection. This did not fix the problem.

I have removed and cleaned the three sensors where the shift wires are. All is clean inside and out. Connections are good.

Can ride all day and not have a problem until I hit 40mph!!! (sure I know, keep it under 40 LOL)

Anyone have any ideas now?