With 9 days to get from SF to NY, I think I'd do the west coast loop and fly back to NY rather than driving all the way across. You will be able to see a lot more attractions instead of just piling on miles and miles. Now, if you had 3 weeks to get across, then I'd drive the whole thing.