A Long Island federal judge on Thursday sentenced a New York attorney to 57 months in prison after he pleaded guilty to conspiracy to commit mail and wire fraud against a child.