Magnetically controlled single-electron shuttle