Solution (source code)

= Solution

No. Let $c_0=\lambda f.\lambda x.x$ and set
$$
R=\lambda n.c_0,
\qquad
S=\lambda n.n\,(\lambda x.c_0)\,c_0.
$$
Both terms send every <Church numeral> to $c_0$, so both define the constant-zero function. They are distinct beta-normal forms, however, and the <Church-Rosser theorem> implies that distinct beta-normal forms cannot be beta-equivalent.