This paper explores the impact of extra spatial dimensions on scalar field dynamics and cosmic evolution within the framework of the Sáez–Ballester scalar-tensor theory. Using higher-dimensional FLRW metric, a time-dependent deceleration parameter linked to the Hubble parameter \(H\) is introduced to describe the universe’s smooth transition from deceleration to acceleration. The inclusion of extra dimensions through a conformal transformation simplifies the field equations and clarifies the behavior of key cosmological quantities such as energy density, pressure, and the scalar field. The model’s stability is examined via perturbation analysis, where small fluctuations in the energy density are studied and their temporal evolution is numerically analyzed using the fourth-order Runge–Kutta method. The EoS parameter \(\xi (z)\) approaches \(-1\) , indicating a shift toward a dark energy dominated era, while all energy conditions vanish as \(z \rightarrow -1\) . Model parameters are further constrained using Hubble, Pantheon+SH0ES, and DESI DR2 BAO datasets through Maximum Likelihood Estimation and Markov Chain Monte Carlo techniques, confirming the stability and observational consistency of the proposed higher-dimensional model.