I suspect that is a Micamold Resistor. Yes they made resistors too. Thr last one I encountered was bad, but sometimes they are still OK. Just do.t twist them around to see the other side, might as well clip it out if that’s the case, as the leads snap off inside.
AICapacitors tend to have 2 rows of dots, square or rectangular shapes, while resistors have one row of dots, slimmer shape, just like yours. J
AI will get there eventually but can only repeat whatever was posted, right or wrong. I saw an ad for an Airline radio that was described as a fine example of aviation history. :>)