This study addresses the problem of attack-compensated asynchronous output feedback control for stochastic switching systems with sojourn probability. Unlike traditional Markov/semi-Markov models that rely on transition probabilities, a novel switching rule is introduced that focuses on sojourn probability information associated with the target mode and sojourn time, which are easier to obtain than the well-known transition probabilities. Considering the vulnerability of stochastic switching systems to cyber-attacks, where the system state becomes unobservable and difficult to manage, a compensation-based output feedback controller framework is proposed. Using the Lyapunov method and stochastic analysis, sufficient conditions are provided to ensure system stability. Finally, the effectiveness and applicability of the developed approach are demonstrated using an F-404 aircraft engine system model.