There are two ways to unlock the black suit in Spider-Man 3 on PC. The first is simply to keep playing: about three-quarters of the way through the game, you receive it automatically as part of the story.
The second way is to beat the game entirely. Once you finish, go to the playable characters menu and select the Black-Suited Spider-Man. This lets you replay the whole game wearing the black suit from start to finish. Either method gets you the iconic dark costume—have fun swinging around in it!