A former longtime prosecutor in the Manhattan District Attorney’s Office has been retained to represent the man accused of fatally shooting the CEO of UnitedHeathcare in midtown Manhattan.