Four major manufacturers of hip and knee replacement devices have agreed to pay $311 million in fines to avoid prosecution for allegedly giving financial inducements to doctors who used their products.

The companies consented to be subject to 18 months of federal monitoring, U.S. Attorney Christopher Christie announced Thursday at a news conference in Newark, N.J.