The decision in favor of a Jewish organization's school follows years of setbacks in a similar case for a Catholic school.