In this work, the effect of vibro-impact nonlinear, forced, and damped oscillator on the dynamics of the electromagnetic actuation (EA) near primary resonance is studied. The vibro-impact regime is given by the presence of the Hertzian contact. The EA is supplied by a constant current generating a static force and by an actuation generating a fast alternative force. The deformations between the solids in contact are supposed to be elastic and the contact is maintained. In this study, a single degree of freedom nonlinear damped oscillator under a static normal load is considered. An analytical approximate solution of this problem is obtained using the Optimal Auxiliary Functions Method (OAFM). By means of some auxiliary functions and introducing so-called convergence-control parameters, a very accurate approximate solution of the governing equation can be obtained. We need only the first iteration for this technique, applying a rigorous mathematical procedure in finding the optimal values of the convergence-control parameters. Local stability by means of the Routh-Hurwitz criteria and global stability using the Lyapunov function are also studied. It should be emphasized that the amplitude of AC excitation voltage is not considered much lower than bias voltage (in contrast to other studies). Also, the Hertzian contact coupled with EA is analytically studied for the first time in the present work. The approximate analytical solution is determined with a high accuracy on two domains. Local stability is established in five cases with some cases depending on the trace of the Jacobian matrix and of the discriminant of the characteristic equation. In the study of global stability, the estimate parameters which are components of the Lyapunov function are given in a closed form and a graphical form and therefore the Lyapunov function is well-determined.