Question: is i an object or subject pronoun?
Answer: “I”—just like “they”—is a subject noun living in an object noun's place. The correct sentence should have “me” (the object pronoun) following the verb: She gave Jim and me extra cookies.