They don't. I assume it works the same way for them as they tried to do with Eren.
i.e. Shifters only live another 13 years. So when their time is almost up, the inject the next candidate with Titan serum, then the Shifter is fed to the candidate to pass on it's power.
If a titan dies without passing it on, I assume eating the corpse would work.