In this article, we considered a nonlinear compartmental mathematical model that assesses the effect of treatment on the dynamics of HIV/AIDS and pneumonia (H/A-P) co-infection in a human population at different infection stages. Understanding the complexities of co-dynamics is now critically necessary as a consequence. The aim of this research is to construct a co-infection model of H/A-P in the context of fractional calculus operators, white noise and probability density functions, employing a rigorous biological investigation. By exhibiting that the system possesses non-negative and bounded global outcomes, it is shown that the approach is both mathematically and biologically practicable. The required conditions are derived, guaranteeing the eradication of the infection. Furthermore, adequate prerequisites are established, and the configuration is tested for the existence of an ergodic stationary distribution. For discovering the system’s long-term behavior, a deterministic-probabilistic technique for modeling is designed and operated in MATLAB. By employing an extensive review, we hope that the previously mentioned approach improves and leads to mitigating the two diseases and their co-infections by examining a variety of behavioral trends, such as transitions to unpredictable procedures. In addition, the piecewise differential strategies are being outlined as having promising potential for scholars in a range of contexts because they empower them to include particular characteristics across multiple time frame phases. Such formulas can be strengthened via classical techniques, power law, exponential decay, generalized Mittag-Leffler kernels, probability density functions and random procedures. Furthermore, we get an accurate description of the probability density function encircling a quasi-equilibrium point if the effect of H/A-P minimizes the propagation of the co-dynamics. Consequently, scholars can obtain better outcomes when analyzing facts using random perturbations by implementing these strategies for challenging issues. Random perturbations in H/A-P co-infection are crucial in controlling the spread of an epidemic whenever the suggested circulation is steady and the amount of infection eliminated is closely correlated with the random perturbation level.