Not sure if it's the best way or not, but I'm currently planning to do this same trip (HoJo's - Knott's) by booking one of the bus tours that include your tickets.
I'll be interested to see if somebody can suggest a better (and easier) way of doing it though