The Justice Department confirmed that it was conducting an antitrust investigation into the settlement of a lawsuit that groups representing authors and publishers filed against Google. In a letter to the federal judge charged with reviewing the settlement, the Justice Department said it was reviewing concerns that the agreement could violate the Sherman Antitrust Act.