A federal judge has greenlit a settlement awarding more than $51 million to shareholders in a securities action against a home medical equipment company.