Well the tail light flickering could be anything from a broken wire to a broken filiment inside the bulb, to a loose connection. The speedo problem, while it is usually the cable that causes most speedo problems, it could, depending on just what you mean by broken be the actual speedo unit or it could be the sending unit at the wheel. Harley dealer, ebay or local salvage yard for parts.