Amir Shaw, a 20-year-old man known as “Gotti,” was arrested on murder charges just as his two co-defendants headed to trial.