Man gets 34-year sentence for killing co-worker