A theoretical model for the toroidal rotation spin-up and generation of a positive radial electric field during the stochastization of plasma edge is put forward. Equations for the toroidal velocity and for modification of the core radial electric field have been derived. A detailed comparison of the model results with the radial electric field and plasma potential measurements during MHD activity in the TUMAN-3M tokamak is presented.