Man in custody after allegedly shaking girlfriend's 1-year-old son