when constant scalar curvature implies Einstein?

There is no reason for this, and the answer is indeed no.

The simplest example I can think of is the product of two $\mathbb{S}^2$, each endowed with round metrics of different radius (added in edit). This manifold is homogeneous and thus has constant scalar curvature, its sectional curvature is non-negative so its Ricci tensor also is (and is in fact even positive), but the Ricci curvature in a direction $u$ is not constant (directions tangent to the largest radius sphere have smallest Ricci curvature).


As an example where this does hold, for $\omega$ a Kähler metric of constant scalar curvature with $\pi c_1(M) = \lambda [\omega]$, then $\omega$ is Kähler-Einstein. This is Proposition 2.12 in Tian's "Canonical metrics in Kähler Geometry".