enallage

noun

1.
a substitution of part of speech or gender or number or tense etc. (e.g., editorial ‘we’ for ‘I’)