Fatal error: Class 'Drupal\module_name\DOMDocument' not found
You need to rename the form class file CamelCase and make a namespace declaration at the top. The namespace will be Drupal\module_name\Form. Place the form class file in directory module_name/src/Form/.