So I've been trying to do the same thing today to put my apfelwein recipe in, and came up with a slightly different method that might be handy for you. I was also using some apple juice concentrate, so I had to figure out how to enter that as well, and hopefully people can check my math to make sure it makes sense.
Here's what I did. My apple juice was 28g/8oz, which works out to 448 grams per gallon of juice. If you convert that to pounds per gallon, it comes out to about .99 pounds per gallon. Then I entered in a new ingredient as a sugar and called it apple juice. Since I'm assuming that the apple juice is 100% fermentable, you can convert the pounds/gallon directly to the yield % (since 1lb of sugar per gallon will give you 100% yield). So my new ingredient "apple juice" has a yield % of 99, which gives a potential of 1.046. Then all I have to do is enter the number of gallons used as pounds (ie 4.5 gallons as 4.5 pounds).
In your case, your 416g of sugar works out to about .92 lb/gallon, so you could just enter in a new ingredient as a sugar with a yield% of 92 and then you should be able to add 4 pounds of that ingredient, and it should come out the same as your other calculation.
For the apple juice concentrate, this method worked much easier than anything else I could come up with. The concentrate had 26g of sugar/2oz which worked out to 1664 grams per gallon. Converting that to pounds per gallon gives me 3.67 pounds per gallon. For some reason Beersmith allows you to enter >100% values for yield%, so I was able to enter 367% yield for the "apple juice concentrate" ingredient, or a potential of 1.169. Same thing with the juice, then I could enter in the gallons as pounds.
Hopefully my math is correct!