"The Magic Caboose" is the first part of the eighteenth episode from the eleventh season of Barney & Friends.