Yes.
It will be down a little on power.
Check the spark coil as JD used an electronic advance to get a better power response form the engine.
If they both have a single small wire then direct swap.
If the mower has a 3 wire one then the entire ignition will have to be swapped over.