the best thing to do would be to run some carb cleaner through it and maybe rebuild it because it has been sitting. get some fresh gas through it and have someone put a timing light on it.
my bronco would diesel from time to time and back fire when running, when I replaced the carb the problem went away which means it just needed a rebuild
my brothers Camaro did that after a few months of sitting with next to no fuel in it, the gas went bad and did the same thing, ran like crap and dieseled like crazy. fresh gas and the problem went away.
and lastly I would spend hours playing with the carb on my 429 Thunderbird and when I had the idle mix adjusted out of spec it did the same thing.
things you learn by doing.