I read a novel from the mid to late 80's where a class was transported for a survival weekend but the transporter malfunctioned and the group wound up on an unknown planet. I believe the kids were stuck there for a couple before being found. At the end of the book one of survivors journeyed back to the new planet with a type of wagon train of pioneers. Anyone know this book and if so its name?
Your description is a bit vague, but this is almost certainly Tunnel in the Sky by Robert A. Heinlein.
In "Tunnel," it's not a class trip, it's the final exam of a survival skills class that almost every high-school student takes. It's supposed to be for a few days, but a super-nova disrupts the teleportation system for a year or so (Offhand, I'm not positive about how long it was).