Chaotic dynamics of a periodically forced slender body in a simple shear flow