I forgot the lock screen PIN on my Moto G second gen XT-1068 I forgot the PIN number of the lock screen.

I'm unable to do anything to get into my device as both data connection and Wi-Fi are off and USB debugging is disabled.
Is there any way to enable them?  

Otherwise suggest a way to root the device in this state and delete PIN and also to un-root it after the problem is solved.

I don't want to factory reset as I have important data on my phone's internal memory.
My device is un-rooted and runs on Android 4.4.4.
Did you set up and activate either Google's Android Device Manager or Motorola Device Policy (Settings/Security/Device Administrators)? Both allow you to set a new password remotely (which would clear the forgotten PIN), via either https://www.google.com/android/devicemanager or the Moto Support Site respectively.

If so it might be worth giving it a try although if you did manage to Factory Reset the phone that should have removed your Google account. I'm surprised that the PIN survived a Factory Reset.