Assuming Oswald isn't killed by Ruby in this scenario, he'll probably be tried by the States of Texas for the murder of Jackie Kennedy in Dallas. The killing of a President-much less a member of his family-wasn't a federal crime in 1963. So, it's the State of Texas or bust, and murder down there, then as now, is a capital crime. And he'll certainly be convicted of same. Whether or not a death sentence will be carried out in that era is another matter. Executions were becoming ever more rare in that period, even in Texas (the last Texas execution in the pre-Furman era was in 1964). So, who knows?
Oswald is dead. Getting rare or not by that time we are talking about assassinating the First Lady in Texas. He would be a dead man walking.