Wash, peel, and cut the potatoes into 3/4-inch pieces. Place in cold water if not adding to the slow cooker right away, then drain well.
Peel and dice the carrots, dice the onion, mince the garlic, and measure out 2 1/2 cups of diced cooked ham, trimming any bone or large fat pieces.
Add potatoes, carrots, onion, and garlic to a 6-quart slow cooker. Scatter ham on top, sprinkle with thyme, parsley, pepper, and 1/4 teaspoon salt, then pour broth over everything.
Cover and cook on LOW for 7 hours or on HIGH for 3 1/2 to 4 hours, avoiding lifting the lid, until the potatoes are fork-tender.
Ladle 2 to 3 cups of potatoes and carrots with a little broth into a bowl, mash until mostly smooth, and stir back into the slow cooker to thicken the soup.
Whisk milk and sour cream together, temper with about 1 cup of hot soup, then pour into the slow cooker, stir well, cover, and cook on HIGH for 15 minutes without boiling.
If a thicker soup is desired, stir in instant potato flakes 1 tablespoon at a time, waiting a minute or two between additions until the soup coats the back of a spoon.
Taste and adjust salt and pepper in small pinches, ladle into warm bowls, and top with sliced green onions and shredded sharp cheddar cheese.