There is a skyline which travels to each but depends on the type of ticket you have. If staying in Disney resort you can get a bus to each as well.
Make sure you have the Park Hopper option for your tickets so you dont use two tickets in the same day. That being said, hop on the monorail and transfer at the station to either park, and you're good to go.
Yes there's a tram that will take you, as we were told, we spent the hole day at Epcot and it was a wonderful time.
Thanks! Your answer is awaiting moderation.