A federal judge has approved a $5 million settlement in a class action ERISA suit against Comcast Corp. in which employees of the cable television giant claim they suffered losses in the company stock fund because it was heavily invested in Comcast stock during a period when its price was falsely inflated.