In this work, the expansion of a shock wave from a dusty medium into a pure gas is simulated. The carrier medium is described as a viscous compressible and heat-conducting gas. A mathematical model of the dusty medium dynamics allowed for force interaction. Also, the mathematical model took into account inter-component heat transfer. The aim of the work was to study the effect of the electric charge of the dispersed component on the parameters of a shock wave during the passage of a shock wave from an inhomogeneous medium to a homogeneous gas. Differences between processes in neutral and electrically charged dusty media were revealed.