Shock wave formation in dusty plasma consisting of mobile positive and negative ions, nonthermal electrons, and negatively charged static dust particles is theoretically studied in the presence of a magnetic field. Using the reductive perturbation technique, the basic set of fluid equations is reduced to the three-dimensional Zakarov–Kuznetsov Burgers nonlinear wave equation. The dissipation generated by ion kinematic viscosity in the system is taken into consideration. Distinct features of the dispersive (oscillatory) shock-like structures are discussed for different plasma parameters such as ion kinematic viscosities, ion density ratio, dust density ratio, nonthermal electrons, and magnetic field effect. It is observed that at large value of ion viscosities, nonthermal electrons, and ion density ratio, the formation of compressive shock strength increases. However, at certain critical values of nonthermal electrons, ion density ratio, the transition in the polarity of shock wave occurs within this range of plasma parameters. The considered parameters are reliable in the Solar F Corona (Dust corona) region. The findings of this work may be helpful in understanding shock formation in the Solar F Corona (Dust corona) region and astrophysical related plasma environments.