A federal judge has given preliminary approval for Sprint Nextel Corp. to pay $30 million to settle a class action lawsuit alleging it overcharged in passing along a federally mandated phone service subsidy.

Sprint’s co-defendant in the case, AT&T Corp., is not included in the settlement and will continue to face litigation.