Hi Paul
Yes, the 4th Kentucky Infantry Regiment CSA was a confederate unit. The Civil War Soldiers and Sailors System has a listing for a sergeant John L Marshall in Company I, 4th Kentucky. That might be him.
Ray