Intelligent interaction control is required in many fields of application, in which different operative situations have to be faced with different controllers. Being able to switch between optimized controllers is, indeed, of extreme importance to maximize the task performance in the different operative conditions (i.e., free-space motion and contact), especially when considering sensorless robots. To deal with the proposed context, a sensorless optimal switching impact/force (OSIF) controller is proposed. The low-level robot control is composed of an inner joint position controller, fed by an outer Cartesian impedance controller with a reference position. The estimation of the external wrench is implemented by means of an Extended Kalman Filter (EKF). The high-level controller (feeding the Cartesian impedance controller with the setpoint) is composed of an optimized impact controller (LQR-based controller), an optimized force controller (SDREbased controller), and a continuous switching mechanism (Fuzzy Logic-based). In addition, the output of the switching mechanism is used to adapt the Cartesian impedance control parameters (i.e., stiffness and damping parameters). Experimental tests have been performed on a Franka EMIKA panda robot to validate the proposed controller. Obtained results show the capabilities of the OSIF controller, being able to detect task phase transitions while satisfying the target performance.