Laser-induced breakdown thermometry (LIBT) is a promising technique for gas temperature measurements. However, in practical flows, dynamically varying temperature gradients can induce non-negligible drift in measurement locations, potentially compromising measurement accuracy. To address this challenge, we introduced temporal modulation of laser pulse in LIBT. Specifically, by chopping the pulse duration with a pressure chamber, the expansion of laser-induced plasma was confined to its early stage, where the plasma location remained insensitive to temperature gradients, thereby stabilizing the measurement location. Spatial resolution was concurrently improved due to the reduced plasma size. Gas temperature was then calibrated against the deposited energy, and a correction model was built to suppress the modulation-induced increased shot-to-shot fluctuations. Finally, the temporally modulated laser-induced breakdown thermometry (TMLIBT) method was validated in a hot-cold gas flow interface with steep temperature gradients, which yielded improved trueness and maintained acceptable single-shot precision, demonstrating its feasibility under practical conditions.