American International Group Inc. decided Wednesday to pass on a shareholder lawsuit that accuses the U.S. government of unfairly burdening the company during its financial-crisis rescue, in a move that could snuff out a brewing controversy for the insurer.

The insurer's directors unanimously rejected any participation in the suit, partly to avoid reputational harm that they feared could result from signing on, according to a person familiar with the company.

...