Suppose $f$ is continuous on $(0,\infty)$ and $f$ is simmilar $g$ for all $x>M$ ($M>0$).
(i.e. for any $\epsilon >0$, there is $M>0$ such that if $x>M$, then $|f-g|< \epsilon$)
is it true that
if $g$ is uniformly continuous on $(0,\infty)$, the $f$ is also uniformly continuous on $(0,\infty)$.
if $g$ is not uniformly continuous on $(0,\infty)$, the $f$ is not uniformly continuous on $(0,\infty)$.
motivate this question is
"$f(x)=x^3 \sin(\frac{1}{x})$ is uniformly continuous?"
($f(x)$ is similar $x^2$ as $x \rightarrow \infty$ and $x^2$ is not uniformly continuous, I think $f$ is not uniformly continuous.)
I assume you mean "uniformly continuous on $(0,\infty)$, since otherwise, your variable $M$ is overloaded.
For your particular function, the easiest way to show it is not uniformly continuous is to show that $f'(x)\to\infty$ as $x\to\infty$. Such a function cannot be uniformly continuous because of the mean value theorem.
That said, for your general question, what you are asking is not true. A counterexample is $f(x)=\frac1x$ and $g(x)=0$.