Discrete and Continuous Time Modulated Random Walks with Heavy-Tailed Increments