Wal-Mart Stores Inc. has agreed to pay up to $35 million to settle a class action lawsuit brought on behalf of 88,000 workers at Washington state stores who were forced to skip meal and rest breaks or work off the clock.

The Bentonville, Ark.-based retailer and lawyers for the workers jointly announced Wednesday that a King County Superior Court judge has given final approval to the deal.