An assistant attorney general, Robert S. Dearington, has left his job to become a federal prosecutor.