PKDM has the same R06a engine installed in JDM altos. so i guess it will work with ags txn.
Normaly they swap head and assemebly for engine so ur exiting wiring should work.
However still its advisable to repair ur existing engine from reputed and knowledgeable workshop