Can you use keyframes for motion blur in After Effects?
There’s a built-in “CC force motion blur” plugin you could add to your comp as an adjustment layer. If you use that instead of the system motion blur, I think you could keyframe it on or off, or just keyframe the adjustment layer on or off. Be warned it is slower to render than blurring the usual way.