Nike Inc. said it had received complaints about inappropriate workplace behavior and that its No. 2 executive has resigned, setting off a management shuffle at the sportswear giant.

The company said Trevor Edwards, Nike brand president and a potential successor to Chief Executive Mark Parker, will leave his position immediately and retire from the company in August.

In...