Calling her actions “an outrageous breach of trust,” a judge sentenced Diane M. Gordon, a former state assemblywoman from Brooklyn, to two to six years in prison on Thursday for offering to help a developer acquire city land if he would build her a house free. Ms. Gordon, a four-term Democrat from East New York, will be eligible for parole after 20 months. Prosecutors had sought a longer sentence — the maximum was 10 years — arguing that not only had Ms. Gordon tried to get a free house, not even in her district, but that even after her indictment,...