In this paper, hybrid position/force controller is considered for high dynamic electro-hydraulic servo-actuator. The purpose is to apply specified force to flexible load after a moving to some position. This cycle can be repeated several times with different magnitude and frequencies of force and position. The main advantage of such strategy law consists principally to the industrial fatigue test application, but some dangerous damages could occur especially at switching times. Our contribution consist to propose a method to generate automatically the switching signal in order to commute between the two controllers with any abrupt change of state, despite the presence of uncontrolled dynamics. To show the effectiveness of the proposed approach, simulation results on the electro-hydraulic system are carried out.