For a 10 night/11 day trip, I’d spend 4 nights in Tokyo and 7 nights in Kyoto, and take the train back to Narita on day 11. Get a 7 day JR Pass for days 5 - 11, do some day trips from Kyoto, depending on what you want to do.
Why do you want to stay in Osaka? Tokyo is modern Japan writ large, Kyoto is old/cultural Japan at its best, Osaka is .... not much of anything - a bit like a mini-Tokyo with none of Tokyo’s attractions. Why do you want to stay in Ginza - high-priced shopping and restaurants?