I remember this issue happened to one of my friends pen drive, a transcend one. Just couldn't format it through windows.
Luckily after doing some research, I found out that you have to go to Transcends website and download their special formatting tool. Downloaded and formatted with it, and ta-da, worked like brand new again.
Hope this works for you too