Flagstaff or Gallupare probably good options for hotels that are about halfway. You will be going through a lot of small towns in Texas if you go 287, so make certain that you have plenty of gas and food if you travel late at night.
Frisco and Texas are great places to live. Welcome to Texas!
Doing this in 2 days will require 12 hours of driving a day on the most direct and fastest route. The halfway point between San Jose and Frisco (Texas) is Holbrook where there is a Motel 6. I have not been there. The roads around Frisco are sometimes toll roads.