The movie was called CastAway and it was really a beautiful movie in which the plain by which hanks is traveling crashes and he is the lone survivor on the island. The story is about the fight of a man on survival with the barest and the most basic needs that he has to cope up with. The movie was released in the year 2000.
Your vote on this answer has already been received
The movie in which Tom Hanks was stranded in a deserted island was Castaway.
The story is about a FedEx employee whose aircraft gets crashed over South Pacific and he lands up over an island. Later the movie screens his survival over the island and how he makes a comeback to his city. The island gained popularity after the movie and has become a popular tourist destination. The movie was released in the year 2000 and was directed by Robert Zemeckis.