The U.S. Department of Labor is suing B&H Foto & Electronics Corp., threatening to pull more than $46 million in government contracts if the retailer doesn’t address allegations of discrimination against its Hispanic workers and female, black and Asian job candidates at its Brooklyn Navy Yard warehouse.

The department’s Office of Federal Contract Compliance Programs filed the lawsuit Wednesday with the federal Office of Administrative Law Judges.

...