A. Doesn't you like spinach?
Doesn't (verb) and you (pronoun) don't agree
B. You boys has to come home by five o'clock
you boys (pronoun) and has (verb) don't agree
C. Is I coming with you to the beach?
is (verb) and I (pronoun) don't agree
D. Have I done something to upset him?
have (verb) and I(pronoun) agree - this is the correct answer!