Woody Allen ended more than a year of legal sparring with American Apparel Inc. Monday when he agreed to a $5 million settlement from the retailer on the morning their dispute over unauthorized billboard.