Sony Pictures and Marvel Studios announced Tuesday that the " ( 500 ) Days of Summer " director will helm the next " Spider-Man " film following the departure of Sam Raimi and Tobey Maguire , the director and star who worked on the previous three Spidey films .