A federal judge on Wednesday sentenced former Sen. Bob Menendez, the only sitting senator ever to be convicted of acting as a foreign agent, to 11 years in prison for taking hundreds of thousands of dollars in bribes in exchange for helping three businessmen and the governments of Egypt and Qatar.