Robert S. Mueller, a decorated war hero who would later go on to investigate President Donald J. Trump, handpicked Sullivan to work in the computer hacking and intellectual property cybercrime unit, a prestige position in the Northern District US Attorney’s Office in San Francisco.