Washington (CNN) -- The Supreme Court has agreed to decide whether to certify the largest class-action employment lawsuit in U.S. history, a long-standing dispute against mega-retailer Wal-Mart Stores Inc. over alleged gender bias in pay and promotions.