Just some thoughts: The set of solutions is a vector space containing the constant functions. Also if ##ab=1##, then degree ##1## polynomials ##y=px+q## are solutions. [Edited to avoid re-using the letters ##a## and ##b##]
You can also try an exponential solution ##y=e^{\lambda x}##. Substituting this,
$$\lambda e^{\lambda x}=a(e^{\lambda x}-e^{\lambda (x-b)})=ae^{\lambda x}(1-e^{-\lambda b}),$$
so we want to find ##\lambda## satisfying the equation ##\lambda=a(1-e^{-\lambda b}).## Now ##\lambda=0## is always a solution (giving the constant solutions), but others will usually exist.
In fact, as long as the graphs of ##\lambda## and ##a(1-e^{-\lambda b})## are not tangent at ##\lambda=0##, there will be another solution by IVT arguments. In order for them to be tangent, we need ##\frac{d}{d\lambda}\big\vert_{\lambda=0}\lambda=1## to be equal to ##\frac{d}{d\lambda}\big\vert_{\lambda=0}a(1-e^{-\lambda b})=ab##, that is ##ab=1##.
So, we have linear solutions when ##ab=1##, and exponential solutions when ##ab\neq 1##.
I've assumed ##a## and ##b## are positive, please say if this is not justified in your model.
I also haven't though about uniqueness; I don't know if there are other solutions.