To prepare this Pumpkin Custard Recipe gluten-free, substitute the all-purpose flour with a certified gluten-free flour blend, or omit the flour entirely if preferred, as the eggs provide sufficient structure. Ensure all other ingredients, including vanilla extract and spices, are verified gluten-free.