904 kicking out of gear

It's possible the throttle pressure linkage is the problem. Have you slid under the car and manually pushed it back to see if it's interfering? That's the only way to know for sure. If that isn't the problem the only other thing I can think of that might cause it is a broken motor mount allowing the engine to tip up under acceleration and pull the linkage out of gear.