A federal judge has granted a final approval on a $25 million settlement in a class action lawsuit against the city.