Global solutions for dynamical systems modeling motion of charged particles