Dean Foods has agreed to pay a US$140m settlement to farmers in the US who accused the dairy giant of conspiring with competitors to keep prices low.