Legislation pushed by Gov. Andrew Cuomo to raise tuition at New York's public universities has passed the Legislature.