Carnegie Mellon University has agreed to pay $4.8 million to settle a class action lawsuit filed by students who had their in-person classes moved online due to the COVID-19 pandemic in 2020.