A federal judge yesterday sentenced a Stoughton man to 36 months in federal prison for robbing letter carriers in two Boston neighborhoods to get their “arrow” keys, which would let him and his accomplice open on-street postal boxes to search for checks and other valuables. Kenneth Demosthene, 24, pleaded guilty…