Both are correct. B is the logical choice as we say He is a cousin of mine , not He is a cousin of me. However, grammarians generally consider A correct as well.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.