If your luggage is checked directly to Raleigh, you should be able to get the boarding pass for both sections before leaving China. After arriving at Newark Airport, you can directly find the boarding gate of your flight and give the boarding pass to the staff. If not, leave me a message and I'll tell you.