Can I get infected by HIV from an HIV child vomiting on me?

Probably not. Hiv is passed mainly from blood or sexual contact (e.g. Sharing needles, etc.) other bodily fluids such as a child's vomit are very unlikely to cause hiv.