The gun used to shoot great with the old barrel but then it didn’t so I got a new barrel and things went shotgun pattern on most targets it felt like.
A barrel change is a significant detail, in fact it isn't a detail but a major point since the performance has never been good.
The troubleshooting chart still hasn't been narrowed down very much in this thread, and it will take longer when you hold back significant amounts of information.
ETA: sometime we are trying to cut down on a large list of troubleshooting branches. At present, we are still near the point where everything is still on the table. This performance problem has symptoms that can be due to so many parameters that we are trying to narrow down the tasks. Sending off the scope or testing with a different one is important too, but it still leaves a whole lot of branches in the troubleshooting path.
Don't know if you ever planned on owning a chronograph, but it does help understand when there is something really wrong with a system in the trouble branches that are on the velocity path like fouling or bad loading.
Some barrels take no break in at all and are leveled off as fast as the scope is zeroed, others take nearer to 200 rounds, and everything in between. But the only way to know without wasting time and guesswork is to track velocity during start-up and then to study the cleaning needs of the gun.
I would remove the muzzle devices and give it a good scrub, then start tracking the round count and watch the velocity to determine the cleaning regime. If you don't get a decent performance within about the first 300 rounds, there is the need to seek outside help.
There is no shame in seeking help in that situation. You don't do this for a living and would have to spend a whole lot more to learn it all yourself.
Don't be fooled by the internet and marketing stories, you would be surprised to learn that many folks have rigs that don't shoot well but they never speak up.
A good quality custom barrel has potential, but not a guarantee. Expectations are it should be below 1 MOA on a sporter, and better with heavier profiles. Factory rigs are a random lottery, some will make you happy and some won't.
When you are unknown, and the issues are vague... It helps to describe the rig, the history, and your history up front. Good Luck and in for the range reports.