It is a real life experience that i have suffered during submit a custom form in WordPress.
I have written a custom form like following below code:
In WordPress you can not give element name like “name” or “email” .
That is the only cause for redirect 404 page in wordpress.
Some times user use third party captcha.
That can be another cause for redirect 404 page in wordpress.