For millions of Americans, the outcome of the legal battle could shape both education costs and access to care.