A Pennsylvania judge has ruled underfunding public schools is a violation of students’ rights. The ruling marks progress in a lawsuit that claims poorer districts are more likely to have larger class sizes, less qualified faculty, and outdated buildings.