score:9
Yes, you'll need to go through the US customs and immigration, and that includes taking your bags. You'll re-check them in with United right after the customs (look for "connections" sign).
They'll probably be tagged all the way to Cancun when you first check them in in Munich, so make sure to leave the tags intact attached to the luggage when you pick them up to go through the US customs.