Hey there Gabby85,
It sounds like you are unable to finish restoring your iPhone because of this error code 4005 and it is now not recognized by the computer or iTunes anymore. If you are using a PC, you can use the steps in this article:
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/ts1538
If you have a Mac, use this article instead:
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/ts1591
Thank you for using Apple Support Communities.
Regards,
Sterling