An Apple Inc iPad

An Apple Inc iPad

Tony Avelar/Bloomberg

The U.S. Justice Department told Apple Inc. and five publishers that it’s preparing to sue them for allegedly fixing the prices of electronic books, according to a person familiar with the matter.