Answer:
Switching would be better.
Step-by-step explanation:
If you pick a door at random, you have a 33.33% chance to get the car, and a 66.67% chance that the car is in the other two doors, 33.33% in the other two doors. (Let's pick door 1 for this example)
Saying that door 2 has a goat means that door 2 has a 0% chance of having a car. Where did that 33.33% go to? It went to door 3. Hence, door 3 now has a 66.67% chance of having a car.
Therefore, you should swap.