Each gram of protein is 4 calories, so a protein shake will absolutely end a fast.
My two cents, most of the timing stuff is at best maximizing the last few percentages and often just fitness industry trying to sell stuff. If you’re working out consistently and getting daily protein that’s most of what matters.
Technically it will break your fast, but you’re likely to get the results you’re after (if not perhaps even faster) with a P.Shake in the morning, a workout, and OMAD. Try not to let fasting take over your mental health, if you need a shake for sustenance then have a shake my dude