Judge swears in new top federal prosecutor in Brooklyn