Former Brooklyn Supreme Court Justice Edward Harold King and developer Sam Sprei cheated investors out of $6.5 million, federal prosecutors said.