A Japanese electronics part maker agreed to pay $28.5 million for its role in a price-fixing scheme, the U.S. Department of Justice said on Monday.