New York City Mayor Bill de Blasio’s office is planning a national forum on inequality with presidential candidates at a college in Iowa before the end of November, according to two people familiar with the matter.

Representatives for U.S. Sen. Bernie Sanders of Vermont and Martin O’Malley, former governor of Maryland, both candidates for the Democratic presidential nomination, said they hoped to participate.

A...