Can 余 (more than) go after the measure word?
五百多人 is correct and colloquial.
五百余人 is correct and formal.
五百人多 is not correct.
五百人余 is not grammatical in modern Mandarin but contextually valid in ancient Chinese. It may appear a lot in ancient stories written in vernacular language.