A federal court judge ordered Yahoo to face a class action lawsuit alleging the company sent unsolicited text messages to Sprint cellphone users in violation of the Telephone Consumer Protection Act.