If all UA, they can arrange to check thru all the way even though 2 itineraries. I had the same thing arise last week when I had to take a short-notice work trip that abutted a leisure one. Desk agent was able to get it squared away, and my bag arrived just fine.