AP swings left to right all the time

These are the first steps to take.
With the sim running, if you are on the start up screen, from the top heading, select “Options”, or if you are already in the sim, press “ESC” on the keyboard.

  • Under “General”
    Set “Flight Model” to “Modern”, not “Legacy”. - (** I see you have already confirmed this.)
  • Under “Assists”
    Set all “Piloting” assists to “Off”
  • When you are in the sim, from the “winged” sim icon, Open AI Control (icon to the right of the yoke icon), and ensure that “Control Aircraft” is “Off” (button placed to the left).
  • Next, and quite important, is to add deadzones to each axis for all your controllers. Approximately 5% should be enough, but there have been instances where significantly more was needed.

Do not assume, even if you know how you had these already set, ensure these are this way now.
The last few updates did change some user settings.

When you get all this done, (the above need to be anyway if more troubleshooting is required) and if the issue is still there, let us know!