Rather than construct a single example, one could try to prove enough about such rings that examples become clear.
Definition: Define $t:R^2 \to R : (a,b) \mapsto (ab)^2 - (ba)^2$. Call a ring “$t$-good” if the image of $t$ is 0.
Example: If $R$ is a basic, local $k$-algebra with $J^3=0$, and $k$ of characteristic 2, then $R$ is $t$-good.
The rest of this answer tries to make that example seem like a logical consequence of the definition. However, at several points I had to make assumptions that simplified matters, but that might not be true in general. These are marked “(not WLOG)” since WLOG is normally reserved for “without loss of generality” rather than “with loss of generality.”
Proposition: An idempotent of a $t$-good ring is central.
Proof: If a ring is $t$-good then $t(a,b) - t(1-a,b) = ab^2 - b^2a$ must be 0 as well, so the square of every element is in the center. In particular, if $e$ is an idempotent of a $t$-good ring, then it is central (that is $e=e^2$ implies $ae=ea$ for all $a \in R$ as long as $R$ is $t$-good). $\square$
Lemma: A central idempotent is the same as a direct product factorization of the ring.
Proof: Let $f=1-e$ and notice that we get a ring direct product $R = Re \times Rf$. $Re$ is a ring not just a left ideal since $(re)(se) = rse^2 = (rs)e$ using that $e$ is a central idempotent. Similarly $f=(1-e)^2 = 1-2e+e^2 = 1-2e+e = 1-e=f$ so $f$ is another central idempotent, so $Rf$ is another ring. If $x \in Re \cap Rf$ then $x=re=s(1-e)$ so $xe = re^2 = re = x$ on the one hand, but $xe =s(1-e)e = s(e-e^2) = s(e-e) = 0$ on the other, so $x=0$ and $Re \cap Rf = 0$ so we get a direct product. Every element of $R$ is in this direct product, because $r = r1 = r(e + (1-e)) = r(e+f) = re+rf \in Re \times Rf$. $\square$
We can basically ignore direct products however, since:
Proposition: A direct product of rings is $t$-good iff every factor is $t$-good.
Proof: This is simply because the $i$th coordinate of $t(\mathbf{a},\mathbf{b})$ is just $t$ applied to the $i$th coordinates of $\mathbf{a}$ and $\mathbf{b}$. $\square$
Assumption: (WLOG) $R$ is not a direct product of two proper subrings.
We call such a ring “connected”, though some call it directly indecomposable as a ring.
Proposition: A connected $t$-good ring has no idempotents.
Assumption: (not WLOG) $R$ is a finite dimensional $k$-algebra.
Proposition: In any non-commutative $t$-good ring, $2$ is not a unit. Thus if a $k$-algebra is $t$-good, then $k$ has characteristic 2.
Proof: Now $t(1-a,1-b)-t(1-a,b)-t(a,1-b)+t(a,b) = 2(ab-ba)$, so if 2 is a unit, then $R$ is commutative. We are specifically interested in non-commutative examples, so we cannot have $2$ be a unit. $\square$
Proposition: A connected finite-dimensional $k$-algebra that is $t$-good must be local.
Proof: A finite dimensional algebra is local iff it has no non-trivial idempotents. Since we assume the algebra is connected, it has no central
idempotents. Since we assume the algebra is $t$-good, it has no non-central
idempotents. $\square$
Assumption: (not WLOG) $R/J$ is separable over $k$.
Assumption: (not WLOG) $K=R/J$ is commutative.
For instance, if $k$ is finite both of these are automatic.
Lemma: $R$ is a $K$-algebra and as $K$-vector space is isomorphic to $K \oplus J$ where $K$ is a central subfield of $R$ and $J$ is a nilpotent ideal.
Proof: This is the Wedderburn-Malçev theorem. $\square$
Assumption: (WLOG) $R/J \cong k$, that is, $R$ is a basic, local $k$-algebra.
Proposition: In a $t$-good ring, $x(ab+ba)=(ab+ba)x$.
Proof: $t(1-x,a-b) + t(x,a) + t(x,b) - t(1-x,a)-t(1-x,b)-t(x,a-b) = xab+xba-abx-bax. \square$
What I would like to say is that in fact $x(ab) = (ab)x$ when $a,b \in J$.
Assumption: (not WLOG) Assume $J^2$ is central.
Proposition: Every basic, local, finite-dimensional $k$-algebra whose Jacobson radical squared is central is $t$-good.
Proof: We calculate $(a+j)(b+k) = ab + bj + ak + jk$ versus $(b+k)(a+j) = ab+bj+ak+kj$ which differ only in the $jk$ versus $kj$. $((a+j)(b+k))^2 - ((b+k)(a+j))^2$ therefore mostly cancels. The only parts that can remain are those involving $jk$ or $kj$. Note however, that $J^2$ is central, so that all that remains $2ab(jk-kj) + 2bj(jk-kj) + 2ak(jk-kj)$. If $J^3=0$ this simplifies further to $2ab(jk-kj)$.
Note that if $J^3=0$, then $J^2$ is automatically central, since it commutes with the central subfield $K$ and of course also with $J$ since $J(J^2) = (J^2)J = 0$.