Yes, plywood will give far more lateral strength than any 2 by lumber. Make your new plywood transom the total width of the transom if possible.
Do yourself a favor and replace the whole transom.
X3 - replace with however layers of ply are needed to get the width you need.