Applications of the Tarig Transform and Hyers–Ulam Stability to Linear Differential Equations