Question: how long does it take to clear immigration at newark airport?
Answer: 3 hours is a good safe amount of time for all this. Any shorter and be prepared to hustle. You should repost on the Newark NJ forum. United intl flights arrive at either B or C depending on CBP.