Reported speech questions like this are often solved fastest by eliminating the option that changes meaning first, then choosing between what remains by naturalness of construction:
Two options fail on meaning right away, and between the two that preserve meaning, the infinitive construction is the natural, standard one.
Therefore, the correct answer is She begged me not to go away.