A New Jersey man who conspired with his then-girlfriend to cook up a feel-good story about a helpful homeless man and then used the lie to raise hundreds of thousands of dollars in donations online has been sentenced to more than two years in federal prison