This was my original solution. I will update with horn of plenty tricks and other things later today.
The kingdom: bank, mint, philosopher's stone, death cart, hermit, (madman) counterfeit, cache, contraband, black market, fool's gold, mining village, platinum, colony, potion, ruins, spoils.
Black Market deck: Young Witch, Tournament, embargo, bandit camp, feast, ambassador, harem, loan, talisman, quarry, royal seal, venture, hoard, ill-gotten gains, stash
Deck; All cards in supply except one from each supply pile. All cards in BM deck. All spoils. All prizes. All banks and counterfeits. 7 madmen, 2 hermits. All cards that will not be used are in discard pile (actions that don't trash themselves, victory cards and curses)
Play these cards in this order; (M=madman, DC= Death Cart, MV=Mining Village); M DC M DC M DC M DC M DC MV DC M DC MV DC MV DC M.
This brings us to 254 cards in hand, exactly enough to draw only the cards we need. Death cart was used to lower hand size to make the madmen draw exactly how much we want. Mining village was for extra actions to play death carts with. Of course, the death carts and mining villages were trashed, and the madmen returned to the supply.
Next we play another mining village, then embargo, then feast, gaining the last cache and with it the last copper. Then we play the rest of our mining villages, reshuffling and getting obscenely lucky and drawing the cache and copper. (when I said we need 254 cards, this was accounting for the draw of mining village, and the two cards from feast. And one from venture.)
Now we play all the treasure except bank and counterfeit. there are 77 cards still in our deck, so P-stones are worth 15 each. Diadem should be worth 5. We also play all the potions. This gives us 636 money. Then we play all the counterfeits on each other, then on the banks. The first two banks are worth 212 per play; 424 when counterfeited.. The third bank is worth 211- 422. Then 420, and so on. The banks add up to 4168. The counterfeits are worth 19 total. Finally we subtract 3 by buying a mint (we played a quarry). 636+4168+19-3=4820 money in all.