Electromagnetic waves are similar. The Lienard-Wiechert field formulas [1] have 2 terms. The first term describes the delayed field, and is proportional to 1/r^2, while the second describes waves and is proportional to 1/r.
[1] https://en.wikipedia.org/wiki/Li%C3%A9nard%E2%80%93Wiechert_...
I would add that considering counterfactual situations like "if the sun were to move instantly to the right" is of limited utility. That cannot happen (violates conservation of momentum). (Granted, other thought experiments have been quite influential in this field...)
Gravitational waves are also different from changes to the amount of gravitational force. This can be seen from the fact that gravitational waves affect the distances between objects, whereas the sun which exerts far more gravitational force has no measurable effect (at least, to my knowledge rotating objects don't change length noticeably).