The former senior manager of special operations for eBay Inc.’s. global security team was sentenced Thursday in federal court in Boston for his role in a cyberstalking campaign that included sending a preserved fetal pig, a bloody pig Halloween mask and a book on surviving the loss of a spouse to a Massachusetts couple’s home.