Yes, the charge Q will feel an electric force, as the charge q given to the metal block appears on the surface. Hence, it exerts an electric force on the charge Q.