MnSb2Te4, as an important member of intrinsic magnetic topological insulator MnBi2Te4 family, shows promise for realizing quantum anomalous Hall effect (QAHE). However, interlayer A-type antiferromagnetic coupling has been a challenge to successfully observe this novel physical phenomenon in MnSb2Te4 system. Based on density functional theory, our calculations demonstrated that doping p-type non-magnetic elements into 2 SLs and 3 SLs of MnSb2Te4 can induce a magnetic phase transition from interlayer antiferromagnetic to ferromagnetic states with a Curie temperature up to 52.2 K. Moreover, our calculations present that interlayer ferromagnetic coupling and band gap in Ca-doped 2 SLs MnSb2Te4 systems can be further tuned by applying compressive strain. In addition, the interlayer ferromagnetic coupling in MnSb2Te4/Sb2Te3/MnSb2Te4 sandwich heterostructure by p-type doping can be enhanced, The detailed electronic structure analysis show that realization of interlayer ferromagnetic coupling is mainly related to a redistribution of d-electron orbital occupancy in Mn atoms of various SL layers. These findings not only advance the understanding of interlayer ferromagnetic order in ultrathin MnSb2Te4 layers, but also provide new way to realize the QAHE in MnSb2Te4 based systems without introducing extraneous magnetic disorder.