Only if you put the miles in UA Mileage Plus or US Dividend Miles.
Starting March 1st, UA Elites will be recognized on US metal and vice versa.
Miles on both airlines already count for status and elite bonuses.
UA has their code on all US flights between BUF and PIT/PHL/CLT and beyond.