Using the effective mass and parabolic band approximations, we investigated the position-dependent effective mass and non-resonant intense laser field effects on the first and third-order corrections of the absorption and relative changes of the refraction index coefficients for intersubband transition in Razavy-like quantum wells. Calculations have been extended to the spherical Razavy-like quantum dots electronic structure. We have shown that depending on the combinations of the Razavy-like potential parameters, the quantum wells can evolve from parabolic confinement in an isolated quantum well to a configuration of two coupled quantum wells. We have shown that in general the transition energies (dipole matrix elements) between the ground state and the first excited state: i) are decreasing (increasing) functions of M-parameter, ii) are increasing (decreasing) functions of A-parameter, iii) they increase (decrease) when considering the position-dependent effective mass effects, and iv) are increasing (decreasing) functions of the intense laser field parameter. In the case of the optical absorption and relative changes in the refractive index coefficients, we have shown blueshifts or redshifts by changing the A-, M-, and alpha(0)-parameters and by considering the effects of the position-dependent effective mass. In spherical quantum dots, we have shown that with an appropriate value of A- and M-parameters the system can evolve from a spherical quantum dot with infinite parabolic potential.