The police learned that the man, who worked in a private company, allegedly took the extreme step due to family problems